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
3f6a5a4e
Commit
3f6a5a4e
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
remove redundant header.
parent
f2190a13
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/ZMap/zmapConn.h
+0
-77
0 additions, 77 deletions
src/include/ZMap/zmapConn.h
with
0 additions
and
77 deletions
src/include/ZMap/zmapConn.h
deleted
100755 → 0
+
0
−
77
View file @
f2190a13
/* File: zmapConn.h
* Author: Ed Griffiths (edgrif@sanger.ac.uk)
* Copyright (c) Sanger Institute, 2003
*-------------------------------------------------------------------
* 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
* and was written 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:26 2004 (edgrif)
* Created: Thu Jul 24 14:35:58 2003 (edgrif)
* CVS info: $Id: zmapConn.h,v 1.11 2004-12-15 14:09:44 edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_CONN_H
#define ZMAP_CONN_H
#include
<ZMap/zmapProtocol.h>
/* We should have a function to access this global.... */
/* debugging messages, TRUE for on... */
extern
gboolean
zmap_thr_debug_G
;
#define ZMAPTHR_CONFIG_DEBUG_STR "threads"
/* string to specify on .ZMap for
turning debug on/off. */
/* If you change these two enumerated types you must update zMapVarGetRequestString() or
* zMapVarGetReplyString() accordingly. */
/* Requests to a slave thread. */
typedef
enum
{
ZMAP_REQUEST_INIT
,
ZMAP_REQUEST_WAIT
,
ZMAP_REQUEST_TIMED_OUT
,
ZMAP_REQUEST_GETDATA
}
ZMapThreadRequest
;
/* Replies from a slave thread. */
typedef
enum
{
ZMAP_REPLY_INIT
,
ZMAP_REPLY_WAIT
,
ZMAP_REPLY_GOTDATA
,
ZMAP_REPLY_REQERROR
,
ZMAP_REPLY_DIED
,
ZMAP_REPLY_CANCELLED
}
ZMapThreadReply
;
/* One per connection to a database, an opaque private type. */
typedef
struct
_ZMapConnectionStruct
*
ZMapConnection
;
ZMapConnection
zMapConnCreate
(
char
*
machine
,
int
port
,
char
*
protocol
,
int
timeout
,
char
*
version
,
char
*
sequence
,
int
start
,
int
end
,
GData
*
types
,
ZMapProtocolAny
initial_request
)
;
void
zMapConnRequest
(
ZMapConnection
connection
,
void
*
request
)
;
gboolean
zMapConnGetReply
(
ZMapConnection
connection
,
ZMapThreadReply
*
state
)
;
void
zMapConnSetReply
(
ZMapConnection
connection
,
ZMapThreadReply
state
)
;
gboolean
zMapConnGetReplyWithData
(
ZMapConnection
connection
,
ZMapThreadReply
*
state
,
void
**
data
,
char
**
err_msg
)
;
void
*
zMapConnGetThreadid
(
ZMapConnection
connection
)
;
char
*
zMapVarGetRequestString
(
ZMapThreadRequest
signalled_state
)
;
char
*
zMapVarGetReplyString
(
ZMapThreadReply
signalled_state
)
;
void
zMapConnKill
(
ZMapConnection
connection
)
;
void
zMapConnDestroy
(
ZMapConnection
connection
)
;
#endif
/* !ZMAP_CONN_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