RTEMS CPU Kit with SuperCore
Data Structures | Typedefs | Enumerations | Functions
nis_db.h File Reference
#include <rpc/rpc.h>
#include <rpcsvc/nis.h>
Include dependency graph for nis_db.h:

Go to the source code of this file.

Data Structures

struct  db_next_desc
 
struct  db_result
 

Typedefs

typedef enum db_status db_status
 
typedef enum db_action db_action
 
typedef entry_obj * entry_object_p
 
typedef struct db_result db_result
 

Enumerations

enum  db_status {
  DB_SUCCESS = 0, DB_NOTFOUND = 1, DB_NOTUNIQUE = 2, DB_BADTABLE = 3,
  DB_BADQUERY = 4, DB_BADOBJECT = 5, DB_MEMORY_LIMIT = 6, DB_STORAGE_LIMIT = 7,
  DB_INTERNAL_ERROR = 8, _DB_STATUS = 0xffffffff
}
 
enum  db_action {
  DB_LOOKUP = 0, DB_REMOVE = 1, DB_ADD = 2, DB_FIRST = 3,
  DB_NEXT = 4, DB_ALL = 5, DB_RESET_NEXT = 6, _DB_ACTION = 0xffffffff
}
 

Functions

bool_t db_initialize ()
 
db_status db_create_table ()
 
db_status db_destroy_table ()
 
db_resultdb_first_entry ()
 
db_resultdb_next_entry ()
 
db_resultdb_reset_next_entry ()
 
db_resultdb_list_entries ()
 
db_resultdb_add_entry ()
 
db_resultdb_remove_entry ()
 
db_status db_checkpoint ()
 
db_status db_standby ()
 
db_status db_table_exists ()
 
db_status db_unload_table ()
 
void db_free_result ()