dav/assistant.h

changeset 747
efbd59642577
parent 364
3769ba002fd1
equal deleted inserted replaced
746:a569148841ff 747:efbd59642577
35 35
36 /* 36 /*
37 * ask for a configuration value with the name cfgname 37 * ask for a configuration value with the name cfgname
38 * which must be not empty 38 * which must be not empty
39 */ 39 */
40 char* assistant_getcfg(char *cfgname); 40 char* assistant_getcfg(const char *cfgname);
41 41
42 /* 42 /*
43 * ask for an optional configuration value with the name cfgname 43 * ask for an optional configuration value with the name cfgname
44 */ 44 */
45 char* assistant_getoptcfg(char *cfgname); 45 char* assistant_getoptcfg(const char *cfgname);
46 46
47 /* 47 /*
48 * ask for an optional configuration value with the name cfgname 48 * ask for an optional configuration value with the name cfgname
49 * with hidden input 49 * with hidden input
50 */ 50 */
51 char* assistant_gethiddenoptcfg(char *cfgname); 51 char* assistant_gethiddenoptcfg(const char *cfgname);
52 52
53 /* 53 /*
54 * ask for an configuration value with the default value defval 54 * ask for an configuration value with the default value defval
55 */ 55 */
56 char* assistant_getdefcfg(char *cfgname, char *defval); 56 char* assistant_getdefcfg(const char *cfgname, const char *defval);
57 57
58 #ifdef __cplusplus 58 #ifdef __cplusplus
59 } 59 }
60 #endif 60 #endif
61 61

mercurial