summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-05-14 21:54:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-05-14 21:54:59 (GMT)
commita6698e571c3e08084e1b572ec29ce66c1d183214 (patch)
treea558a6886bb97417c2191d514132f17a3ac66d48 /tools/lib/h5tools.c
parentf336441f7c57b2820baaebfd38d7f7d3b9bc05b7 (diff)
downloadhdf5-a6698e571c3e08084e1b572ec29ce66c1d183214.zip
hdf5-a6698e571c3e08084e1b572ec29ce66c1d183214.tar.gz
hdf5-a6698e571c3e08084e1b572ec29ce66c1d183214.tar.bz2
[svn-r18816] Move progname and d_status functions from h5tools to h5tools_util
Tested: linux and windows
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 5d4ea87..e997d03 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -42,8 +42,6 @@ FILE *rawdatastream; /* should initialize to stdout but gcc moans about it
int bin_output; /* binary output */
int bin_form; /* binary form */
int region_output; /* region output */
-static int h5tools_d_status = 0;
-static const char *h5tools_progname = "h5tools";
static h5tool_format_t h5tools_dataformat = {
0, /*raw */
@@ -285,34 +283,6 @@ enum {
/*-------------------------------------------------------------------------
* Audience: Public
* Chapter: H5Tools Library
- * Purpose: Initialize the name and operation status of the H5 Tools library
- * Description:
- * These are utility functions to set/get the program name and operation status.
- *-------------------------------------------------------------------------
- */
-void h5tools_setprogname(const char *Progname)
-{
- h5tools_progname = Progname;
-}
-
-void h5tools_setstatus(int D_status)
-{
- h5tools_d_status = D_status;
-}
-
-const char*h5tools_getprogname()
-{
- return h5tools_progname;
-}
-
-int h5tools_getstatus()
-{
- return h5tools_d_status;
-}
-
-/*-------------------------------------------------------------------------
- * Audience: Public
- * Chapter: H5Tools Library
* Purpose: Initialize the H5 Tools library
* Description:
* This should be called before any other h5tools function is called.