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
75c85d1f
Commit
75c85d1f
authored
21 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
Move some macros into zmapUtils.h
parent
b6550098
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/zmapSys.h
+2
-37
2 additions, 37 deletions
src/include/ZMap/zmapSys.h
with
2 additions
and
37 deletions
src/include/ZMap/zmapSys.h
+
2
−
37
View file @
75c85d1f
...
...
@@ -26,9 +26,9 @@
* Description:
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited:
Aug 6 10:37
200
3
(edgrif)
* Last edited:
Mar 12 14:06
200
4
(edgrif)
* Created: Thu Jul 24 14:36:17 2003 (edgrif)
* CVS info: $Id: zmapSys.h,v 1.
1
2004-03-
03 12:51:52
edgrif Exp $
* CVS info: $Id: zmapSys.h,v 1.
2
2004-03-
12 15:10:39
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_SYS_H
...
...
@@ -39,41 +39,6 @@
#include
<glib.h>
/* Debugging messages, TRUE for on... */
extern
gboolean
zmap_debug_G
;
/* Use this one like this: ZMAP_DEBUG(("format string" lots, of, args)) ; */
#define ZMAP_DEBUG(ALL_ARGS_WITH_BRACKETS) \
do { \
if (zmap_debug_G) \
printf ALL_ARGS_WITH_BRACKETS ; \
} while (0)
/* Zmap error messages. */
/* I'm defining this for now, I don't really want to use the whole messXXXX() thing
* unless it gets chopped out into a file on its own.... */
/* Use this one like this: ZMAPERR("complete error text") ; */
#define ZMAPERR(TEXT) \
do { \
fprintf(stderr, "%s (line %d), error:: \"%s\"\n", \
__FILE__, __LINE__, TEXT) ; \
exit(EXIT_FAILURE) ; \
} while (0)
/* Use this one like this: ZMAPSYSERR(errno_value, "complete error text") ; */
#define ZMAPSYSERR(CODE, TEXT) \
do { \
fprintf(stderr, "%s (line %d), error:: \"%s\" (errno = \"%s\")\n", \
__FILE__, __LINE__, TEXT, g_strerror(CODE)) ; \
exit(EXIT_FAILURE) ; \
} while (0)
/* I would like the data passed to be ZMapWinConn but this produces circularities
* in header dependencies between zmapApp.h and zmapManager.h....think about this. */
typedef
void
(
*
zmapAppCallbackFunc
)(
void
*
app_data
,
void
*
zmap
)
;
...
...
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