~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't fatal() if cannot create a root account
[disorder]
/
server
/
trackdb.h
diff --git
a/server/trackdb.h
b/server/trackdb.h
index
d142f8a
..
fe43474
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 */
/*