1 /* 2 * Please do not edit this file. 3 * It was generated using rpcgen. 4 */ 5 6 #ifndef _DB_DICTLOG_C_H_RPCGEN 7 #define _DB_DICTLOG_C_H_RPCGEN 8 9 #include <rpc/rpc.h> 10 #pragma ident "%Z%%M% %I% %E% SMI" 11 #ifndef _DB_DICTLOG_H 12 #define _DB_DICTLOG_H 13 14 /* A log entry that describes an action to be performed and its parameters. */ 15 16 #include "db_vers_c.h" 17 #include <rpcsvc/nis.h> 18 19 #include "nisdb_rw.h" 20 21 #define DB_ADD_TABLE 1 22 #define DB_REMOVE_TABLE 2 23 24 struct db_dictlog_entry { 25 vers aversion; 26 int action; 27 char *table_name; 28 table_obj *table_object; 29 struct db_dictlog_entry *next; 30 vers bversion; 31 }; 32 typedef struct db_dictlog_entry db_dictlog_entry; 33 34 typedef db_dictlog_entry *db_dictlog_entry_p; 35 bool_t xdr_table_obj(); 36 37 struct db_dictlog_list { 38 struct { 39 u_int list_len; 40 db_dictlog_entry_p *list_val; 41 } list; 42 }; 43 typedef struct db_dictlog_list db_dictlog_list; 44 #endif /* _DB_DICTLOG_H */ 45 46 /* the xdr functions */ 47 extern bool_t xdr_db_dictlog_entry(); 48 extern bool_t xdr_db_dictlog_entry_p(); 49 extern bool_t xdr_db_dictlog_list(); 50 51 #endif /* !_DB_DICTLOG_C_H_RPCGEN */ 52