Searched refs:dt_rec_t (Results 1 - 11 of 11) sorted by relevance
/osnet-11/usr/src/lib/libdhcpsvc/modules/templates/ |
H A D | dhcptab.c | 88 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 99 add_dt(void *handle, dt_rec_t *addp) 113 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) 128 delete_dt(void *handle, const dt_rec_t *dtp)
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/ |
H A D | dhcptab.h | 65 * What each dt_rec_t looks like on-disk -- note that we cannot just write 66 * dt_rec_t's because the `dt_value' field can be arbitrarily large. 67 * Instead, write out the dt_rec_t structure followed by the variable-size 73 dt_rec_t rec_dt; /* actual dt_rec_t */ 75 char rec_dtval[1]; /* dt_value field from dt_rec_t */ 80 * position on-disk; these are returned instead of dt_rec_t's when find_dt 82 * dt_rec_t must be the first member. 85 dt_rec_t dtp_rec; /* traditional dt_rec_t */ [all...] |
H A D | dhcptab.c | 43 * list of dt_filerec_t's in no particular order. Note that the dt_rec_t's 86 static boolean_t record_match(const dt_rec_t *, const dt_rec_t *, uint_t); 87 static int find_dt(int, uint_t, uint_t, int, const dt_rec_t *, 174 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 204 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 208 dt_rec_t *recordp; 252 recordp = malloc(sizeof (dt_rec_t)); 319 record_match(const dt_rec_t *dtp, const dt_rec_t *target [all...] |
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/ |
H A D | dhcptab.h | 48 dt_rec_t dtp_rec; /* traditional record */
|
H A D | dhcptab.c | 52 static int write_rec(int, dt_rec_t *, off_t); 113 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 118 dt_rec_t *recordp; 148 * Parse out the entry into the dt_rec_t 188 recordp = malloc(sizeof (dt_rec_t)); 249 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 278 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp) 411 delete_dt(void *handle, const dt_rec_t *delp) 417 add_dt(void *handle, dt_rec_t *add [all...] |
/osnet-11/usr/src/lib/libdhcpsvc/head/ |
H A D | dhcp_svc_public.h | 123 } dt_rec_t; typedef in typeref:struct:__anon1537 126 dt_rec_t *dtl_rec; 200 extern dt_rec_t *alloc_dtrec(const char *, char, const char *); 203 extern dt_rec_list_t *add_dtrec_to_list(dt_rec_t *, dt_rec_list_t *); 205 extern void free_dtrec(dt_rec_t *); 231 extern int add_dt(void *, dt_rec_t *); 233 extern int modify_dt(void *, const dt_rec_t *, dt_rec_t *); 234 extern int delete_dt(void *, const dt_rec_t *); 236 const dt_rec_t *, dt_rec_list_ [all...] |
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/ |
H A D | dhcptab.h | 50 dt_rec_t dtp_rec; /* traditional record */
|
H A D | dhcptab.c | 52 static int write_rec(int, dt_rec_t *, off_t); 147 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 152 dt_rec_t dt, *recordp; 232 recordp = malloc(sizeof (dt_rec_t)); 284 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) 313 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp) 480 delete_dt(void *handle, const dt_rec_t *delp) 486 add_dt(void *handle, dt_rec_t *addp) 492 modify_dt(void *handle, const dt_rec_t *orig [all...] |
/osnet-11/usr/src/lib/libdhcpsvc/private/ |
H A D | public.c | 39 * Allocate a dt_rec_t structure. Argument values are copied and set 40 * to the respective fields within the allocated dt_rec_t structure. 43 dt_rec_t * 46 dt_rec_t *retval = malloc(sizeof (dt_rec_t)); 102 * Prepend a dt_rec_t to a dt_rec_list_t; if `listp' is NULL, then 106 add_dtrec_to_list(dt_rec_t *entryp, dt_rec_list_t *listp) 140 * Free all elements of dtp, as well as the dt_rec_t structure itself. 143 free_dtrec(dt_rec_t *dtp) 152 * Free a list of dt_rec_t' [all...] |
H A D | private.c | 587 free_dtrec((dt_rec_t *)entryp); 745 validate_dtrec(dsvc_handle_t hand, const dt_rec_t *dt, boolean_t justkey) 762 return (validate_dtrec(hand, (dt_rec_t *)entryp, justkey));
|
/osnet-11/usr/src/lib/libdhcpsvc/tests/ |
H A D | test_private.c | 59 dt_rec_t dt, *dtp, *ntp; 145 dt_rec_t recs[5]; 172 for (i = 0; i < sizeof (recs) / sizeof (dt_rec_t); i++) {
|
Completed in 34 milliseconds