Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
2c6c4488
Commit
2c6c4488
authored
17 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
reorganisation
parent
fbf70055
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/zmapControl/remote/zmapXRemote.c
+321
-271
321 additions, 271 deletions
src/zmapControl/remote/zmapXRemote.c
src/zmapControl/remote/zmapXRemote_P.h
+7
-16
7 additions, 16 deletions
src/zmapControl/remote/zmapXRemote_P.h
with
328 additions
and
287 deletions
src/zmapControl/remote/zmapXRemote.c
+
321
−
271
View file @
2c6c4488
This diff is collapsed.
Click to expand it.
src/zmapControl/remote/zmapXRemote_P.h
+
7
−
16
View file @
2c6c4488
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: None
* HISTORY:
* Last edited: Jul
2 08:12
2007 (rds)
* Last edited: Jul
6 14:49
2007 (rds)
* Created: Thu Apr 14 13:07:51 2005 (rds)
* CVS info: $Id: zmapXRemote_P.h,v 1.1
1
2007-07-
03 15:35
:2
9
rds Exp $
* CVS info: $Id: zmapXRemote_P.h,v 1.1
2
2007-07-
16 17:27
:2
3
rds Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -44,7 +44,7 @@
#include
<ZMap/zmapXRemote.h>
/* Public header */
#include
<ZMap/zmapUtils.h>
/* For logging. */
typedef
struct
_
z
MapXRemoteObjStruct
typedef
struct
_
Z
MapXRemoteObjStruct
{
Display
*
display
;
/* The display XOpenDisplay() succeeded in creating this */
Window
window_id
;
/* The window id of either ourselves (server) or
...
...
@@ -60,25 +60,16 @@ typedef struct _zMapXRemoteObjStruct
gboolean
init_called
;
/* Just keeps track of initialisation, shouldn't really be needed */
gboolean
is_server
;
/* TRUE if we're a server */
}
z
MapXRemoteObjStruct
;
}
Z
MapXRemoteObjStruct
;
/*========= For Error Stuff below =========== */
typedef
struct
{
z
MapXRemoteStatus
status
;
Z
MapXRemoteStatus
status
;
char
*
message
;
}
zMapXRemoteSimpleErrMsgStruct
,
*
zMapXRemoteSimpleErrMsg
;
/*========= Some Private functions ===========*/
static
char
*
zmapXRemoteGetAtomName
(
zMapXRemoteObj
obj
,
Atom
atom
);
static
int
zmapXRemoteCheckWindow
(
zMapXRemoteObj
object
);
static
int
zmapXRemoteCmpAtomString
(
zMapXRemoteObj
object
,
Atom
atom
,
char
*
expected
);
static
int
zmapXRemoteChangeProperty
(
zMapXRemoteObj
object
,
Atom
atom
,
char
*
change_to
);
static
char
*
zmapXRemoteProcessForReply
(
zMapXRemoteObj
object
,
int
statusCode
,
char
*
cb_output
);
/*====================== DEBUGGING =========================*/
/* #define DO_DEBUGGING */
#ifdef DO_DEBUGGING
...
...
@@ -140,9 +131,9 @@ static int zmapXErrorHandler(Display *dpy, XErrorEvent *e);
*
*
*/
static
z
MapXRemoteStatus
zmapXRemoteErrorStatus
=
ZMAPXREMOTE_INTERNAL
;
static
Z
MapXRemoteStatus
zmapXRemoteErrorStatus
=
ZMAPXREMOTE_INTERNAL
;
static
char
*
zmapXRemoteErrorText
=
NULL
;
static
void
zmapXRemoteSetErrMsg
(
z
MapXRemoteStatus
status
,
char
*
msg
,
...);
static
void
zmapXRemoteSetErrMsg
(
Z
MapXRemoteStatus
status
,
char
*
msg
,
...);
static
void
zmapXRemoteResetErrMsg
(
void
);
static
char
*
zmapXRemoteGetErrorAsResponse
(
void
);
/* End of Xlib Error stuff */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment