Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

_lcmaps_db_read.h File Reference

Internal header file of LCMAPS database reader. More...

#include "lcmaps_db_read.h"

Go to the source code of this file.

Functions

lcmaps_db_entry_tlcmaps_db_fill_entry (lcmaps_db_entry_t **plcmaps_db, lcmaps_db_entry_t *db_entry)
 Add a database entry to a list.

lcmaps_db_entry_t ** lcmaps_db_read (char *lcmaps_db_fname)
 Read database from file.

int lcmaps_db_clean_list (lcmaps_db_entry_t **list)
 Clean/remove the database list.

int lcmaps_db_clean ()
 Clean/remove the database structure.


Detailed Description

Internal header file of LCMAPS database reader.

Author:
Martijn Steenbakkers for the EU DataGrid.
This header contains the declarations of the LCMAPS database reader functions and typedefs.

Definition in file _lcmaps_db_read.h.


Function Documentation

lcmaps_db_clean  ) 
 

Clean/remove the database structure.

Return values:
0 succes
1 failure

Definition at line 592 of file lcmaps_db_read.c.

References lcmaps_db_clean_list(), lcmaps_db_list, and lcmaps_log().

Referenced by startPluginManager().

lcmaps_db_clean_list lcmaps_db_entry_t **  list  ) 
 

Clean/remove the database list.

Parameters:
list pointer to the database list
Return values:
0 succes.
1 failure.

Definition at line 562 of file lcmaps_db_read.c.

References lcmaps_db_entry_t, lcmaps_log_debug(), lcmaps_db_entry_s::next, and lcmaps_db_entry_s::pluginname.

Referenced by lcmaps_db_clean().

lcmaps_db_fill_entry lcmaps_db_entry_t **  list,
lcmaps_db_entry_t entry
 

Add a database entry to a list.

Parameters:
list database list (array of database entry pointers)
entry the database entry to be added
Returns:
a pointer to the newly created database entry in the list or NULL (error)

Definition at line 205 of file lcmaps_db_read.c.

References lcmaps_db_entry_t, lcmaps_log(), lcmaps_log_debug(), LCMAPS_MAXARGSTRING, LCMAPS_MAXPATHLEN, lcmaps_db_entry_s::next, lcmaps_db_entry_s::pluginargs, and lcmaps_db_entry_s::pluginname.

Referenced by lcmaps_db_read_entries().

lcmaps_db_read char *  lcmaps_db_fname  ) 
 

Read database from file.

Parameters:
lcmaps_db_fname database file.
Returns:
a pointer to the database list

Definition at line 96 of file lcmaps_db_read.c.

References lcmaps_db_entry_t, lcmaps_db_list, lcmaps_db_read_entries(), lcmaps_log(), and MAXDBENTRIES.

Referenced by startPluginManager().


Generated on Sun May 29 21:22:11 2005 for lcmaps by doxygen 1.3.5