]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf.h
Added cfg_printf(), which will be useful for formatting of error messages
[libucw.git] / lib / conf.h
index 85a9ebe564fad3b09d2c98cfae3c110af366cd9a..ef727512b2b08f1d97706dd3ad9614f9434d2843 100644 (file)
@@ -21,6 +21,7 @@ extern struct mempool *cfpool;
 void *cfg_malloc(uns size);
 void *cfg_malloc_zero(uns size);
 byte *cfg_strdup(byte *s);
+byte *cfg_printf(char *fmt, ...) FORMAT_CHECK(printf,1,2);
 
 /*
  * Every module places its configuration setting into some section.  Section is