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

12

/opensolaris-onvv-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.c33 * 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)
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/head/
H A Dndbm.h79 } DBM; typedef in typeref:struct:__anon2523
94 DBM *dbm_open(const char *, int, mode_t);
95 void dbm_close(DBM *);
96 datum dbm_fetch(DBM *, datum);
97 datum dbm_firstkey(DBM *);
98 datum dbm_nextkey(DBM *);
99 int dbm_delete(DBM *, datum);
100 int dbm_store(DBM *, datum, datum, int);
101 int dbm_clearerr(DBM *);
102 int dbm_error(DBM *);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/lib/
H A Dcommonsense.t6 if (($Config{'extensions'} !~ /\b(DB|[A-Z]DBM)_File\b/) ){
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/DBM_Filter/
H A Dnull.pm36 This filter ensures that all data written to the DBM file is null
38 to interoperate with a DBM file that a C program also uses. A fairly
40 in a string when it writes to the DBM file. This filter will ensure that
41 all data written to the DBM file can be read by the C application.
H A Dint32.pm38 This DBM filter is used when interoperating with a C/C++ application
39 that uses a C int as either the key and/or value in the DBM file.
H A Dencode.pm55 This DBM filter allows you to choose the character encoding will be
56 store in the DBM file. The usage is
H A Dcompress.pm38 This DBM filter will compress all data before it is written to the database
H A Dutf8.pm38 This Filter will ensure that all data written to the DBM will be encoded
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dsdbm.c49 static int getdbit proto((DBM *, long));
50 static int setdbit proto((DBM *, long));
51 static int getpage proto((DBM *, long));
52 static datum getnext proto((DBM *));
53 static int makroom proto((DBM *, long, int));
76 DBM *
79 register DBM *db;
85 return errno = EINVAL, (DBM *) NULL;
92 return errno = ENOMEM, (DBM *) NULL;
105 DBM *
[all...]
H A Dsdbm.h33 } DBM; typedef in typeref:struct:__anon1197
75 extern DBM *sdbm_open proto((char *, int, int));
76 extern void sdbm_close proto((DBM *));
77 extern datum sdbm_fetch proto((DBM *, datum));
78 extern int sdbm_delete proto((DBM *, datum));
79 extern int sdbm_store proto((DBM *, datum, datum, int));
80 extern datum sdbm_firstkey proto((DBM *));
81 extern datum sdbm_nextkey proto((DBM *));
82 extern int sdbm_exists proto((DBM *, datum));
87 extern DBM *sdbm_pre
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbc/inc/include/
H A Dndbm.h33 } DBM; typedef in typeref:struct:__anon2988
59 DBM *dbm_open();
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb_dbc.h44 DBM * db_dbm_ctx; /* DBM context for database */
/opensolaris-onvv-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...]
/opensolaris-onvv-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)
/opensolaris-onvv-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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DDBM_Filter.pm98 croak "$caller: Cannot Load DBM Filter '$class': $@" if $@;
228 DBM_Filter -- Filter DBM keys/values
272 to tied Hashes associated with DBM files. It builds on the DBM Filter
276 available on CPAN, supports the DBM Filter hooks. See L<perldbmfilter>
277 for more details on the DBM Filter hooks.
279 =head1 What is a DBM Filter?
281 A DBM Filter allows the keys and/or values in a tied hash to be modified
282 by some user-defined code just before it is written to the DBM file and
283 just after it is read back from the DBM fil
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-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...]

Completed in 274 milliseconds

12