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
46e5fe79
Commit
46e5fe79
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add some doxygen docs.
parent
33e8beb0
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/zmapUtils/zmapUtils.c
+60
-2
60 additions, 2 deletions
src/zmapUtils/zmapUtils.c
with
60 additions
and
2 deletions
src/zmapUtils/zmapUtils.c
+
60
−
2
View file @
46e5fe79
...
...
@@ -26,9 +26,9 @@
*
* Exported functions: See ZMap/zmapUtils.h
* HISTORY:
* Last edited: Ju
n 23 15:17
2004 (edgrif)
* Last edited: Ju
l 1 16:50
2004 (edgrif)
* Created: Fri Mar 12 08:16:24 2004 (edgrif)
* CVS info: $Id: zmapUtils.c,v 1.
2
2004-0
6-25 13:40:56
edgrif Exp $
* CVS info: $Id: zmapUtils.c,v 1.
3
2004-0
7-02 18:24:11
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -36,28 +36,74 @@
/*! @defgroup zmaputils zMapUtils: utilities for ZMap
* @{
*
* \brief Utilities for ZMap.
*
* zMapUtils routines provide services such as debugging, testing and logging,
* string handling, file utilities and GUI functions. They are general routines
* used by all of ZMap.
*
* */
/*!
* Returns a single number representing the Version/Release/Update of the ZMap code.
*
* @param void None.
* @return The version as an integer.
* */
int
zMapGetVersion
(
void
)
{
return
ZMAP_MAKE_VERSION_NUMBER
(
ZMAP_VERSION
,
ZMAP_RELEASE
,
ZMAP_UPDATE
)
;
}
/*!
* Returns a string representing the Version/Release/Update of the ZMap code.
*
* @param void None.
* @return The version number as a string.
* */
char
*
zMapGetVersionString
(
void
)
{
return
ZMAP_MAKE_VERSION_STRING
(
ZMAP_VERSION
,
ZMAP_RELEASE
,
ZMAP_UPDATE
)
;
}
/*!
* Returns a string which is the name of the ZMap application.
*
* @param void None.
* @return The applications name as a string.
* */
char
*
zMapGetAppName
(
void
)
{
return
ZMAP_TITLE
;
}
/*!
* Returns a string which is a brief decription of the ZMap application.
*
* @param void None.
* @return The applications description as a string.
* */
char
*
zMapGetAppTitle
(
void
)
{
return
ZMAP_MAKE_TITLE_STRING
(
ZMAP_TITLE
,
ZMAP_VERSION
,
ZMAP_RELEASE
,
ZMAP_UPDATE
)
;
}
/*!
* Returns a copyright string for the ZMap application.
*
* @param void None.
* @return The copyright as a string.
* */
char
*
zMapGetCopyrightString
(
void
)
{
return
ZMAP_COPYRIGHT_STRING
(
ZMAP_TITLE
,
ZMAP_VERSION
,
ZMAP_RELEASE
,
ZMAP_UPDATE
,
ZMAP_DESCRIPTION
)
;
...
...
@@ -65,6 +111,15 @@ char *zMapGetCopyrightString(void)
/*!
* Formats and displays a message, note that the message may be displayed in a window
* or at the terminal depending on how the message system has been initialised.
*
* @param msg_type The type of message: information, warning etc.
* @param format A printf() style format string.
* @param ... The parameters matching the format string.
* @return nothing
* */
void
zMapShowMsg
(
ZMapMsgType
msg_type
,
char
*
format
,
...)
{
va_list
args
;
...
...
@@ -81,3 +136,6 @@ void zMapShowMsg(ZMapMsgType msg_type, char *format, ...)
return
;
}
/*! @} end of zmaputils docs. */
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