pazpar2  1.14.1
Functions
database.h File Reference

Go to the source code of this file.

Functions

struct databasecreate_database_for_service (const char *id, struct conf_service *service)
 
int session_grep_databases (struct session *se, const char *filter, void(*fun)(struct session *se, struct session_database *db))
 
int predef_grep_databases (void *context, struct conf_service *service, void(*fun)(void *context, struct database *db))
 
int match_zurl (const char *zurl, const char *pattern)
 
struct databasenew_database (const char *id, NMEM nmem)
 
struct databasenew_database_inherit_settings (const char *id, NMEM nmem, struct settings_array *settings)
 

Function Documentation

◆ create_database_for_service()

struct database* create_database_for_service ( const char *  id,
struct conf_service service 
)

◆ match_zurl()

int match_zurl ( const char *  zurl,
const char *  pattern 
)

Definition at line 110 of file database.c.

Referenced by match_criterion(), and update_database_fun().

◆ new_database()

struct database* new_database ( const char *  id,
NMEM  nmem 
)

◆ new_database_inherit_settings()

struct database* new_database_inherit_settings ( const char *  id,
NMEM  nmem,
struct settings_array settings 
)

◆ predef_grep_databases()

int predef_grep_databases ( void *  context,
struct conf_service service,
void(*)(void *context, struct database *db)  fun 
)

◆ session_grep_databases()

int session_grep_databases ( struct session se,
const char *  filter,
void(*)(struct session *se, struct session_database *db)  fun 
)