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
6453f7b0
Commit
6453f7b0
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
redundant, superceded by zmapServerProtocol.h
parent
3f6a5a4e
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/zmapProtocol.h
+0
-114
0 additions, 114 deletions
src/include/ZMap/zmapProtocol.h
with
0 additions
and
114 deletions
src/include/ZMap/zmapProtocol.h
deleted
100755 → 0
+
0
−
114
View file @
3f6a5a4e
/* File: zmapProtocol.h
* Author: Ed Griffiths (edgrif@sanger.ac.uk)
* Copyright (c) Sanger Institute, 2004
*-------------------------------------------------------------------
* ZMap is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* or see the on-line version at http://www.gnu.org/copyleft/gpl.txt
*-------------------------------------------------------------------
* This file is part of the ZMap genome database package
* originated by
* Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk,
* Rob Clack (Sanger Institute, UK) rnc@sanger.ac.uk
*
* Description:
* HISTORY:
* Last edited: Dec 14 09:17 2004 (edgrif)
* Created: Wed Sep 15 11:46:18 2004 (edgrif)
* CVS info: $Id: zmapProtocol.h,v 1.5 2004-12-15 14:10:22 edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_PROTOCOL_H
#define ZMAP_PROTOCOL_H
#include
<glib.h>
#include
<ZMap/zmapFeature.h>
/* Requests can be of different types with different input parameters and returning
* different types of results. */
typedef
enum
{
ZMAP_PROTOCOLREQUEST_INVALID
=
0
,
ZMAP_PROTOCOLREQUEST_TYPES
,
/* Get the feature types. */
ZMAP_PROTOCOLREQUEST_FEATURES
,
/* Get the features. */
ZMAP_PROTOCOLREQUEST_SEQUENCE
,
/* Get the sequence. */
ZMAP_PROTOCOLREQUEST_FEATURE_SEQUENCE
,
/* Get the features + sequence. */
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
/* these are things I would like to do but have not implemented yet.... */
ZMAP_PROTOCOLREQUEST_NEWCONTEXT
,
/* Set a new sequence name/start/end. */
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
}
ZMapProtocolRequestType
;
/* ALL request/response structs must include the fields from ZMapProtocolAnyStruct
* as their first fields in the struct so that code can look in all such structs to decode them. */
typedef
struct
{
ZMapProtocolRequestType
request
;
}
ZMapProtocolAnyStruct
,
*
ZMapProtocolAny
;
typedef
struct
{
ZMapProtocolRequestType
request
;
char
*
sequence
;
int
start
,
end
;
}
ZMapProtocolNewContextStruct
,
*
ZMapProtocolNewContext
;
typedef
struct
{
ZMapProtocolRequestType
request
;
GData
*
types_out
;
/* Returned list of available feature types. */
}
ZMapProtocolGetTypesStruct
,
*
ZMapProtocolGetTypes
;
typedef
struct
{
ZMapProtocolRequestType
request
;
GData
*
types
;
/* lists types of features required,
NULL means "all". */
ZMapFeatureContext
feature_context_out
;
/* Returned feature sets. */
}
ZMapProtocolGetFeaturesStruct
,
*
ZMapProtocolGetFeatures
;
typedef
union
{
ZMapProtocolAny
any
;
ZMapProtocolGetTypes
get_types
;
ZMapProtocolGetFeatures
get_features
;
ZMapProtocolNewContext
new_context
;
}
ZMapProtocol
;
#endif
/* !ZMAP_PROTOCOL_H */
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