ossp-pkg/rc/rc_config.c 1.21 -> 1.22
--- rc_config.c 2002/07/05 13:27:22 1.21
+++ rc_config.c 2002/07/05 14:10:24 1.22
@@ -55,9 +55,14 @@
}
m_nLocks++; /* FIXME not threadsafe */
+/* Warn: Experimental design pattern code abstracts operations from config */
+/* configVisit(pfnSetdefaults);
+ configVisit(pfnGetoptinfo);*/
+
return(RC_THROW(RC_OK));
}
+/* FIXME: Make into configVisit, using callbacks to get and set option info */
/***************************************
* configInfo(void) *
* Print the configuration information *
@@ -66,7 +71,7 @@
{
ex_t Except;
int i = 0;
- char **pszTemp = NULL; /* For holding the section string vector */
+ char **pszTemp = NULL; /* For holding the section string vector */
try {
fprintf(stderr, "Run command file: %s\n", configGetrcfile());
|
|