chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test to verify current dbversion behavior
[disorder]
/
server
/
trackdb.h
diff --git
a/server/trackdb.h
b/server/trackdb.h
index 54e72146996634af74f4f9e2cb0278c35b4a4ffe..fe43474ca0b1652b07145672c9eb6f767fb32630 100644
(file)
--- a/
server/trackdb.h
+++ b/
server/trackdb.h
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder
/*
* This file is part of DisOrder
- * Copyright (C) 2005, 2006 Richard Kettlewell
+ * Copyright (C) 2005, 2006
, 2007
Richard Kettlewell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-44,6
+44,11
@@
void trackdb_close(void);
char **trackdb_stats(int *nstatsp);
/* return a list of database stats */
char **trackdb_stats(int *nstatsp);
/* return a list of database stats */
+void trackdb_stats_subprocess(struct ev_source *ev,
+ void (*done)(char *data, void *u),
+ void *u);
+/* collect stats in background and call done() with results */
+
int trackdb_set(const char *track,
const char *name,
const char *value);
int trackdb_set(const char *track,
const char *name,
const char *value);
@@
-117,6
+122,10
@@
void trackdb_set_global(const char *name,
const char *trackdb_get_global(const char *name);
/* get a global pref */
const char *trackdb_get_global(const char *name);
/* get a global pref */
+char **trackdb_new(int *ntracksp, int maxtracks);
+
+void trackdb_expire_noticed(time_t when);
+
#endif /* TRACKDB_H */
/*
#endif /* TRACKDB_H */
/*
@@
-127,4
+136,3
@@
fill-column:79
indent-tabs-mode:nil
End:
*/
indent-tabs-mode:nil
End:
*/
-/* arch-tag:Y8z+2jDRros3Nz67LFBlzA */