aboutsummaryrefslogtreecommitdiff
path: root/cfg.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-19 08:30:40 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2012-05-25 14:20:35 -0400
commit6cb95bc59e63f4a2c0c72ae3dfb27b94c0e8efbd (patch)
tree2429a7e0af57a667eefd7f302c23ce0ca5526a33 /cfg.h
parent75765d47cac5c9396e2b841fc490bdf20395a37f (diff)
downloadduser-6cb95bc59e63f4a2c0c72ae3dfb27b94c0e8efbd.tar.gz
cfg.c now depends on cfg.h
duser.c depends on cfg.h Removed cfg prototypes from duser.h
Diffstat (limited to 'cfg.h')
-rw-r--r--cfg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cfg.h b/cfg.h
index 6b42f41..d3814f3 100644
--- a/cfg.h
+++ b/cfg.h
@@ -20,7 +20,10 @@
#ifndef CFG_H
#define CFG_H
+
+#define CFG_MAX 255
int cfg_open(const char* filename);
void cfg_close();
-int cfg_get_key(char* val, char* key);
+int cfg_get_key(char* val, const char* key);
+
#endif