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
/
session.h
diff --git
a/src/session.h
b/src/session.h
index
732efbc
..
de5427f
100644
(file)
--- a/
src/session.h
+++ b/
src/session.h
@@
-26,9
+26,7
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <yaz/yaz-ccl.h>
#include "facet_limit.h"
#include <yaz/yaz-ccl.h>
#include "facet_limit.h"
-#include "termlists.h"
#include "reclists.h"
#include "reclists.h"
-#include "http.h"
struct record;
struct client;
struct record;
struct client;
@@
-54,15
+52,6
@@
enum pazpar2_error_code {
PAZPAR2_LAST_ERROR
};
PAZPAR2_LAST_ERROR
};
-// Represents a database
-struct database {
- char *id;
- int num_settings;
- struct setting **settings;
- struct database *next;
-};
-
-
// Represents a database as viewed from one session, possibly with settings overriden
// for that session
struct session_database
// Represents a database as viewed from one session, possibly with settings overriden
// for that session
struct session_database