[Nagiosplug-checkins] nagiosplug/lib Makefile.config-opts, NONE, 1.1 parse_ini.c, 1.1, 1.2
Ton Voon
tonvoon at users.sourceforge.net
Wed Feb 7 15:46:51 CET 2007
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_swap.c,1.58,1.59
- Next message: [Nagiosplug-checkins] nagiosplug/lib/tests Makefile.config-opts, NONE, 1.1 config-tiny.ini, NONE, 1.1 plugin.ini, NONE, 1.1 test_ini.c, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/lib
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv14433
Modified Files:
parse_ini.c
Added Files:
Makefile.config-opts
Log Message:
Added test files to test the parse_ini.c routines. Requires libtap
--- NEW FILE: Makefile.config-opts ---
parse_ini.o: parse_ini.c
gcc -I ../plugins -I ../gl -I .. -g -c -o parse_ini.o parse_ini.c
Index: parse_ini.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/lib/parse_ini.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- parse_ini.c 6 Feb 2007 19:33:55 -0000 1.1
+++ parse_ini.c 7 Feb 2007 14:46:49 -0000 1.2
@@ -236,12 +236,3 @@
return 0;
}
-int main(){
- char *optstr=NULL;
- optstr=np_get_defaults("check_foo at ./foo.ini", "check_bar");
- if(optstr!=NULL) {
- printf("optstr:\n\t%s\n", optstr);
- free(optstr);
- }
- return 0;
-}
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_swap.c,1.58,1.59
- Next message: [Nagiosplug-checkins] nagiosplug/lib/tests Makefile.config-opts, NONE, 1.1 config-tiny.ini, NONE, 1.1 plugin.ini, NONE, 1.1 test_ini.c, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list