projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move struct datbase def to settings.h from session.h
[pazpar2-moved-to-github.git]
/
src
/
settings.h
diff --git
a/src/settings.h
b/src/settings.h
index
b0da583
..
d36a5a2
100644
(file)
--- a/
src/settings.h
+++ b/
src/settings.h
@@
-66,6
+66,14
@@
struct setting
struct setting *next;
};
struct setting *next;
};
+// Represents a database
+struct database {
+ char *id;
+ int num_settings;
+ struct setting **settings;
+ struct database *next;
+};
+
struct settings_array
{
// Array of pointer setting, index is looked up in setting_dictionary
struct settings_array
{
// Array of pointer setting, index is looked up in setting_dictionary