]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/ua_input.c
Add heap stats to Dir and SD -- eliminate #ifdefs
[bacula/bacula] / bacula / src / dird / ua_input.c
index 73d0cabd76bb16b1f2550b27e1bb0a066cdebe59..dde38e8b40c099b75d1abcac9339bfd399fedc00 100644 (file)
@@ -36,7 +36,7 @@
 
 /* Exported functions */
 
-int get_cmd(UAContext *ua, char *prompt)
+int get_cmd(UAContext *ua, const char *prompt)
 {
    BSOCK *sock = ua->UA_sock;
    int stat;
@@ -74,7 +74,7 @@ int get_cmd(UAContext *ua, char *prompt)
  *  Returns:  0 if failure
  *           1 if success => value in ua->pint32_val
  */
-int get_pint(UAContext *ua, char *prompt)
+int get_pint(UAContext *ua, const char *prompt)
 {
    double dval;
    ua->pint32_val = 0;
@@ -103,7 +103,7 @@ int get_pint(UAContext *ua, char *prompt)
  *           1 if success => ua->pint32_val == 1 for yes
  *                           ua->pint32_val == 0 for no
  */
-int get_yesno(UAContext *ua, char *prompt)
+int get_yesno(UAContext *ua, const char *prompt)
 {
    int len;