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
2ae52cd7
Commit
2ae52cd7
authored
15 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add to type enums, need dummy short/long text entries.
parent
be9eef72
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/ZMap/zmapServerProtocol.h
+19
-19
19 additions, 19 deletions
src/include/ZMap/zmapServerProtocol.h
with
19 additions
and
19 deletions
src/include/ZMap/zmapServerProtocol.h
+
19
−
19
View file @
2ae52cd7
...
...
@@ -27,9 +27,9 @@
* structs that give all the information/fields for the request/reply.
*
* HISTORY:
* Last edited: Apr
1
4 1
2:22
2009 (edgrif)
* Last edited: Apr
2
4 1
4:49
2009 (edgrif)
* Created: Wed Feb 2 11:47:16 2005 (edgrif)
* CVS info: $Id: zmapServerProtocol.h,v 1.2
2
2009-04-
16 09:11:27
edgrif Exp $
* CVS info: $Id: zmapServerProtocol.h,v 1.2
3
2009-04-
28 14:25:34
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_PROTOCOL_H
...
...
@@ -46,17 +46,17 @@
/* Requests can be of different types with different input parameters and returning
* different types of results. */
#define ZMAP_SERVER_REQ_LIST(_) \
_(ZMAP_SERVERREQ_INVALID, , "invalid") \
_(ZMAP_SERVERREQ_CREATE, , "create"
)
/*
Create a connection to a data server.
*/
\
_(ZMAP_SERVERREQ_OPEN, , "open"
)
/*
Open the connection.
*/
\
_(ZMAP_SERVERREQ_GETSERVERINFO, , "getserverinfo"
)
/*
Get server information.
*/
\
_(ZMAP_SERVERREQ_FEATURESETS, , "featuresets"
)
/*
Set/Get the feature sets.
*/
\
_(ZMAP_SERVERREQ_STYLES, , "styles"
)
/*
Set/Get the feature styles.
*/
\
_(ZMAP_SERVERREQ_NEWCONTEXT, , "newcontext"
)
/*
Set the context.
*/
\
_(ZMAP_SERVERREQ_FEATURES, , "features"
)
/*
Get the context features.
*/
\
_(ZMAP_SERVERREQ_SEQUENCE, , "sequence"
)
/*
Get the context sequence.
*/
\
_(ZMAP_SERVERREQ_GETSEQUENCE, , "getsequence"
)
/*
Get an arbitrary (named) sequence.
*/
\
_(ZMAP_SERVERREQ_TERMINATE, , "terminate"
)
/*
Close and destroy the connection.
*/
_(ZMAP_SERVERREQ_INVALID, , "invalid"
, "", ""
) \
_(ZMAP_SERVERREQ_CREATE, , "create"
, "create", "
Create a connection to a data server.
")
\
_(ZMAP_SERVERREQ_OPEN, , "open"
, "open", "
Open the connection.
")
\
_(ZMAP_SERVERREQ_GETSERVERINFO, , "getserverinfo"
, "getserverinfo", "
Get server information.
")
\
_(ZMAP_SERVERREQ_FEATURESETS, , "featuresets"
, "featuresets", "
Set/Get the feature sets.
")
\
_(ZMAP_SERVERREQ_STYLES, , "styles"
, "styles", "
Set/Get the feature styles.
")
\
_(ZMAP_SERVERREQ_NEWCONTEXT, , "newcontext"
, "newcontext", "
Set the context.
")
\
_(ZMAP_SERVERREQ_FEATURES, , "features"
, "features", "
Get the context features.
")
\
_(ZMAP_SERVERREQ_SEQUENCE, , "sequence"
, "sequence", "
Get the context sequence.
")
\
_(ZMAP_SERVERREQ_GETSEQUENCE, , "getsequence"
, "getsequence", "
Get an arbitrary (named) sequence.
")
\
_(ZMAP_SERVERREQ_TERMINATE, , "terminate"
, "terminate", "
Close and destroy the connection.
")
ZMAP_DEFINE_ENUM
(
ZMapServerReqType
,
ZMAP_SERVER_REQ_LIST
)
;
...
...
@@ -64,12 +64,12 @@ ZMAP_DEFINE_ENUM(ZMapServerReqType, ZMAP_SERVER_REQ_LIST) ;
/* All requests return one of these responses. */
/* WE SHOULD ADD AN INVALID AT THE START BUT REQUIRES CHECKING ALL USE OF OK !! */
#define ZMAP_SERVER_RESPONSE_LIST(_) \
_(ZMAP_SERVERRESPONSE_OK, , "ok") \
_(ZMAP_SERVERRESPONSE_BADREQ, , "error in request args") \
_(ZMAP_SERVERRESPONSE_UNSUPPORTED, , "unsupported request") \
_(ZMAP_SERVERRESPONSE_REQFAIL, , "request failed") \
_(ZMAP_SERVERRESPONSE_TIMEDOUT, , "timed out") \
_(ZMAP_SERVERRESPONSE_SERVERDIED, , "server died")
_(ZMAP_SERVERRESPONSE_OK, , "ok"
, "", ""
) \
_(ZMAP_SERVERRESPONSE_BADREQ, , "error in request args"
, "", ""
) \
_(ZMAP_SERVERRESPONSE_UNSUPPORTED, , "unsupported request"
, "", ""
) \
_(ZMAP_SERVERRESPONSE_REQFAIL, , "request failed"
, "", ""
) \
_(ZMAP_SERVERRESPONSE_TIMEDOUT, , "timed out"
, "", ""
) \
_(ZMAP_SERVERRESPONSE_SERVERDIED, , "server died"
, "", ""
)
ZMAP_DEFINE_ENUM
(
ZMapServerResponseType
,
ZMAP_SERVER_RESPONSE_LIST
)
;
...
...
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