Searched refs:DBM (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_hooks.h37 * DESCRIPTION: This file implements the hooks between old style DBM calls and
53 extern void shim_dbm_close(DBM *db);
54 extern int shim_dbm_delete(DBM *db, datum key);
55 extern datum shim_dbm_fetch(DBM *db, datum key);
56 extern datum shim_dbm_fetch_noupdate(DBM *db, datum key);
57 extern datum shim_dbm_firstkey(DBM *db);
58 extern datum shim_dbm_nextkey(DBM *db);
59 extern datum shim_dbm_do_nextkey(DBM *db, datum inkey);
60 extern DBM *shim_dbm_open(const char *file, int open_flags,
62 extern int shim_dbm_store(DBM *d
[all...]
H A Dshim.h44 * DBM pointers are non NULL only while the file is open.
48 DBM *entries; /* NIS entry DBM file */
63 DBM *ttl; /* TTL DBM file */
88 * Success and failure codes the same as used by DBM
95 * Extern defs for new DBM calls. Must have identical args to traditional
98 extern void shim_dbm_close(DBM *db);
99 extern int shim_dbm_delete(DBM *db, datum key);
100 extern datum shim_dbm_fetch(DBM *d
[all...]
H A Dshim.c32 * on return. This is a side effect of the original DBM function
91 shim_dbm_close(DBM *db)
116 shim_dbm_delete(DBM *db, datum key)
152 shim_dbm_fetch(DBM *db, datum key)
191 shim_dbm_fetch_noupdate(DBM *db, datum key)
220 shim_dbm_firstkey(DBM *db)
257 * reopen here. (Code that uses the real DBM
274 "Could not reopen DBM files");
310 shim_dbm_nextkey(DBM *db)
340 * NOTE : dbm_do_nextkey is not a documented or legal DBM AP
[all...]
H A Dyptol.h89 extern suc_code update_timestamp(DBM *);
90 extern suc_code addpair(DBM *, char *, char *);
H A Dyptol_utils.c34 * Includes. WE WANT TO USE REAL DBM FUNCTIONS SO DO NOT INCLUDE SHIM_HOOKS.H.
114 addpair(DBM *fdb, char *str1, char *str2)
161 * GIVEN : Pointer to an open DBM file.
167 update_timestamp(DBM *db)
H A Ddit_access.c39 * Includes. WE WANT TO USE REAL DBM FUNCTIONS SO DO NOT INCLUDE SHIM_HOOKS.H.
76 suc_code add_special_entries(DBM *, map_ctrl *, bool_t *);
115 * OUTPUTS: If successful DBM datum containing result.
116 * On error DBM datum pointing to NULL and, if the cached value
533 * GIVEN : Pointer to an open, temporary, DBM file
534 * Pointer to map information (do not use DBM fields).
541 add_special_entries(DBM *db, map_ctrl *map, bool_t *secure_flag)
600 /* Name of temporary entries DBM file */
602 /* Name of temporary TTL DBM file */
604 /* Temporary DBM handle
[all...]
H A Dmap_ctrl.c40 * created with similar contents (but differing DBM pointers).
211 * used to check for date of DBM file so add the DBM
262 * DESCRIPTION: Find an existing map_ctrl for a map of a given DBM * (i.e.
272 get_map_ctrl(DBM *db)
274 /* Check that this really is a map_ctrl not a DBM */
277 "SHIM called with DBM ptr not map_crtl ptr");
327 * DBM files.
398 * opaque DBM pointer.
402 get_map_name(DBM *d
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-ndbm.h62 typedef DB DBM; typedef
78 void dbm_close __P((DBM *));
79 int dbm_delete __P((DBM *, datum));
80 datum dbm_fetch __P((DBM *, datum));
81 datum dbm_firstkey __P((DBM *));
82 long dbm_forder __P((DBM *, datum));
83 datum dbm_nextkey __P((DBM *));
84 DBM *dbm_open __P((const char *, int, int));
85 int dbm_store __P((DBM *, datum, datum, int));
86 int dbm_dirfno __P((DBM *));
[all...]
/illumos-gate/usr/src/head/
H A Dndbm.h79 } DBM; typedef in typeref:struct:__anon2290
93 DBM *dbm_open(const char *, int, mode_t);
94 void dbm_close(DBM *);
95 datum dbm_fetch(DBM *, datum);
96 datum dbm_firstkey(DBM *);
97 datum dbm_nextkey(DBM *);
98 int dbm_delete(DBM *, datum);
99 int dbm_store(DBM *, datum, datum, int);
100 int dbm_clearerr(DBM *);
101 int dbm_error(DBM *);
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dndbm.h33 } DBM; typedef in typeref:struct:__anon2755
59 DBM *dbm_open();
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb_dbc.h44 DBM * db_dbm_ctx; /* DBM context for database */
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c70 * First are the DBM routines, which call the NDBM routines, and
73 static DBM *__cur_db;
165 * *DBM on success
168 DBM *
185 return ((DBM *)__hash_open(path, flags, mode, &info, 0));
194 DBM *db;
206 DBM *db;
237 DBM *db;
265 DBM *db;
293 DBM *d
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypsym.h117 extern bool ypget_map_master(char **owner, DBM *fdb);
118 extern DBM *ypset_current_map(char *map, char *domain, uint_t *error);
122 extern bool yp_map_access(SVCXPRT *transp, uint_t *error, DBM *fdb);
145 extern int yp_matchdns(DBM *, struct ypreq_key *, struct ypresp_val *);
146 extern int yp_oldmatchdns(DBM *fdb,
H A Dypserv_map.c44 /* Use N2L version of DBM calls */
55 static DBM *cur_fdb; /* will be passwd back up by ypset_current_map */
73 DBM *fdb;
112 ypget_map_master(char **owner, DBM *fdb)
142 * and returns the DBM pointer to the map. Procedures called by
146 DBM *
197 * dbmclose on it and sets the current map name and its DBM ptr to null.
215 yp_map_access(SVCXPRT *transp, uint_t *error, DBM *fdb)
H A Dypxfrd_server.c45 * Because this code hacks into DBM underneath its API it can't use the N2L
47 * and has knowledge of shim internals. While copying the DBM files it does
74 datum mydbm_topkey(DBM *db, datum okey);
190 shim_dbm_close((DBM *)m.map);
199 shim_dbm_close((DBM *)m.map);
215 val = shim_dbm_fetch((DBM *)m.map, key);
221 shim_dbm_close((DBM *)m.map);
228 m.key = shim_dbm_firstkey((DBM *)m.map);
236 shim_dbm_close((DBM *)m.map);
365 m->key = shim_dbm_do_nextkey((DBM *)
[all...]
H A Dypserv_proc.c68 /* Use shim version of DBM calls */
101 static void ypfilter(DBM *fdb, datum *inkey, datum *outkey, datum *val,
106 SVCXPRT *xprt, DBM *fdb);
108 SVCXPRT *xprt, DBM *fdb);
199 DBM *fdb;
211 * sanity check the map name and to a DBM lookup
218 /* Check with the DBM database */
307 DBM *fdb;
347 DBM *fdb;
395 DBM *fd
[all...]
H A Dmakedbm.c132 DBM *fdb;
553 DBM *fdb;
575 DBM *fdb;
H A Dmkalias.c66 DBM *Indbm = NULL, *Scandbm = NULL, *Outdbm = NULL;
H A Dypxfrd_client.c48 static DBM *db;
/illumos-gate/usr/src/cmd/sendmail/db/dbm/
H A Ddbm.c71 * The DBM routines, which call the NDBM routines.
73 static DBM *__cur_db;
179 * *DBM on success
182 DBM *
221 return ((DBM *)dbc);
230 DBM *dbm;
246 DBM *dbm;
289 DBM *dbm;
324 DBM *dbm;
359 DBM *db
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c73 static void dbm_access(DBM *, unsigned long);
78 static int setbit(DBM *);
79 static int getbit(DBM *);
80 static int dbm_flushdir(DBM *);
81 static int dbm_flushpag(DBM *db);
84 datum dbm_do_nextkey(DBM *, datum);
85 int dbm_close_status(DBM *);
89 dbm_setdefwrite(DBM *db)
97 dbm_error(DBM *db)
105 dbm_clearerr(DBM *d
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c23 datum dbm_do_nextkey(DBM *, datum);
40 static void dbm_access(DBM *, long);
41 static int getbit(DBM *);
42 static int setbit(DBM *);
52 dbm_setdefwrite(DBM *db)
58 dbm_flush(DBM *db)
67 dbm_flushpag(DBM *db)
82 dbm_flushdir(DBM *db)
97 DBM *
101 DBM *d
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmndbm.c29 DBM *smndbm_dbm;
97 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
116 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
145 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
170 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
206 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
250 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
305 DBM *dbm = db->smndbm_dbm;
333 DBM *dbm = db->smndbm_dbm;
396 DBM *db
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb.h90 typedef struct __db DBM; typedef in typeref:struct:__db
470 #define DB_DBM_ERROR 0x000800 /* Error in DBM/NDBM database. */
940 * Translate DBM calls into DB calls so that DB doesn't step on the
995 int __db_ndbm_clearerr __P((DBM *));
996 void __db_ndbm_close __P((DBM *));
997 int __db_ndbm_delete __P((DBM *, datum));
998 int __db_ndbm_dirfno __P((DBM *));
999 int __db_ndbm_error __P((DBM *));
1000 datum __db_ndbm_fetch __P((DBM *, datum));
1001 datum __db_ndbm_firstkey __P((DBM *));
[all...]
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc736 void dbm_setdefwrite(DBM *db);
737 int dbm_flush(DBM *db);
738 int dbm_flushpag(DBM *db);
739 DBM *dbm_open(const char *file, int flags, mode_t mode);
740 void dbm_close(DBM *db);
741 int dbm_close_status(DBM *db);
742 datum dbm_fetch(DBM *db, datum key);
743 int dbm_delete(DBM *db, datum key);
744 int dbm_store(DBM *db, datum key, datum dat, int replace);
745 datum dbm_firstkey(DBM *d
[all...]

Completed in 108 milliseconds

12