fixed some output config text, added macro SILC_SERVER_CONFIG_ALLOCTMP,
[silc.git] / lib / silcutil / silcconfig.c
index 460cfd1214a247a2e149fd77e205f4c3e786eeb7..c2f6c1b8c4268a9b3f83bec238bacd66fea1d153 100644 (file)
@@ -60,6 +60,7 @@ struct SilcConfigEntityObject {
 static char *errorstrs[] = {
   "-OK",                                       /* SILC_CONFIG_OK */
   "-SILENT",                                   /* SILC_CONFIG_ESILENT */
+  "-PRINTLINE",                                        /* SILC_CONFIG_EPRINTLINE */
   "Invalid syntax",                            /* SILC_CONFIG_EGENERIC */
   "Internal error! Please report this bug",    /* SILC_CONFIG_EINTERNAL */
   "Can't open specified file",                 /* SILC_CONFIG_ECANTOPEN */
@@ -250,7 +251,7 @@ static void *silc_config_marshall(SilcConfigType type, const char *val)
 /* Tries to open the config file and returns a valid SilcConfigFile object
  * or NULL if failed */
 
-SilcConfigFile *silc_config_open(char *configfile)
+SilcConfigFile *silc_config_open(const char *configfile)
 {
   char *buffer;
   SilcUInt32 filelen;