]> git.sur5r.net Git - bacula/bacula/commitdiff
Update doc, Win32 build fixes
authorKern Sibbald <kern@sibbald.com>
Sat, 5 Apr 2003 11:16:11 +0000 (11:16 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 5 Apr 2003 11:16:11 +0000 (11:16 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@420 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/bdb_list.c
bacula/src/cats/bdb_update.c
bacula/src/console/console.c
bacula/src/version.h

index 7c04512fb782ede72c314e68b05b0f20a622610c..2dba3e01c0c55a35c845117f1341d9902653d2b1 100644 (file)
@@ -277,5 +277,35 @@ void db_list_files_for_job(void *jcr, B_DB *mdb, uint32_t jobid, DB_LIST_HANDLER
 void db_list_client_records(void *jcr, B_DB *mdb, DB_LIST_HANDLER *sendit, void *ctx)
 { }
 
+int db_list_sql_query(void *jcr, B_DB *mdb, char *query, DB_LIST_HANDLER *sendit, 
+                     void *ctx, int verbose, int full)
+{
+   return 0;
+}
+
+void
+db_list_pool_records(void *jcr, B_DB *mdb, DB_LIST_HANDLER *sendit, void *ctx, int full) 
+{ }
+
+void
+db_list_media_records(void *jcr, B_DB *mdb, MEDIA_DBR *mdbr, 
+                     DB_LIST_HANDLER *sendit, void *ctx, int full)
+{ }
+
+void db_list_jobmedia_records(void *jcr, B_DB *mdb, uint32_t JobId, 
+                             DB_LIST_HANDLER *sendit, void *ctx, int full)
+{ }
+
+void
+db_list_job_records(void *jcr, B_DB *mdb, JOB_DBR *jr, DB_LIST_HANDLER *sendit, 
+                   void *ctx, int full)
+{ }
+
+void
+db_list_client_records(void *jcr, B_DB *mdb, DB_LIST_HANDLER *sendit, void *ctx, int full)
+{ }
+
+
+
 
 #endif /* HAVE_BACULA_DB */
index 0b043af65e1bd83aa0a8b70b628f03e79ce46098..5f496d0102f4561539f81c2b115623a1e1064868 100755 (executable)
@@ -202,5 +202,9 @@ int db_mark_file_record(void *jcr, B_DB *mdb, FileId_t FileId, JobId_t JobId)
    return 1;
 }
 
+int db_update_client_record(void *jcr, B_DB *mdb, CLIENT_DBR *cr)
+{
+   return 1;
+}
 
 #endif /* HAVE_BACULA_DB */
index 1c6cf1d9563b5a08f8d1e45c9aa8174ff15bbd40..82af3448a553e1df283b3e3f7a60d068ed657682 100644 (file)
@@ -390,7 +390,7 @@ get_cmd(FILE *input, char *prompt, BSOCK *sock, int sec)
 {
    int len;  
    if (!stop) {
-      puts(prompt, output);
+      fputs(prompt, output);
       fflush(output);
    }
 again:
index 74e4586876634df1304df095d6ffc54b3212d982..9f0bebdde4e15ccd03ea4b146f6c57231f7cca85 100644 (file)
@@ -1,8 +1,8 @@
 /* */
 #define VERSION "1.30"
 #define VSTRING "1"
-#define BDATE   "03 April 2003"
-#define LSMDATE "03Apr03"
+#define BDATE   "04 April 2003"
+#define LSMDATE "04Apr03"
 
 /* Debug flags */
 #define DEBUG 1