Lines Matching defs:table

58  * 'tbl_prototype' is used to create a table that holds a directory.
119 * Given a FQ object name for a table or directory, return the (db *)
305 * Create new table using given table name and table descriptor.
315 * Destroys table named by 'table_name.' Returns DB_SUCCESS if successful,
316 * error code otherwise. Note that currently, the removed table is no
328 * Return a copy of the first entry in the specified table, that satisfies
361 * Return a copy of the next entry in the specified table as specified by
400 * Returns copies of entries that satisfy the given attributes from table.
444 * the internal table name for "y.z".
450 char *name, *table, *dir;
470 table = internalTableName(dir);
471 if (table == 0) {
476 *tableP = table;
496 char *name, *table = 0;
511 table = internalTableName(objName);
512 if (table == 0)
514 if (strcmp(ROOTDIRFILE, table) == 0) {
515 sfree(table);
526 sfree(table);
527 name = entryName(myself, objName, &table);
528 if (name == 0 || table == 0) {
533 dbase = InUseDictionary->find_table_noLDAP(table, &tbl, TRUE, TRUE);
534 sfree(table);
614 char *table, tbuf[MAXPATHLEN + NIS_MAXNAMELEN + 1];
623 table = internal_table_name(objName, tbuf);
624 if (table == 0) {
630 t = (__nis_table_mapping_t *)__nis_find_item_mt(table,
705 * use the rpc.nisd's table/directory locks for
765 char *ent, *table;
774 table = internalTableName(objName);
775 if (table == 0)
778 if (strcmp(ROOTDIRFILE, table) == 0) {
779 sfree(table);
787 sfree(table);
788 table = 0;
789 ent = entryName(myself, objName, &table);
790 if (ent == 0 || table == 0) {
795 dbase = InUseDictionary->find_table(table, &tbl, TRUE);
800 sfree(table);
811 sfree(table);
818 sfree(table);
877 char *ent, *table, *objTable;
925 * If the object is a table, we can't allow the scheme
953 * the disk file. Similarly, if creating a table, we
989 ent = entryName(myself, objName, &table);
990 if (ent == 0 || table == 0) {
1004 dbase = InUseDictionary->find_table(table, &tbl, TRUE);
1011 sfree(table);
1033 sfree(table);
1045 sfree(table);
1054 dbres = db_add_entry_x(table, 1, &attr, e, 0, 0);
1061 sfree(table);
1070 sfree(table);
1126 * If it's a table or directory, create the DB file.
1197 * If we have rules, this mapping is for table entries,
1326 /* Any mappings for table entries ? */
1338 * the object isn't a table, queryLDAP()
1401 * If it's a table or directory, there will be
1406 * For a table, we need the db_mindex for both the
1407 * table object itself, as well as for the parent
1408 * directory (in order to store table entries).
1419 "%s: Error deriving entry/DB-table names for %s:%s; skipping up-load",
1453 * table Store table obj, as well
1455 * table
1463 * success if we try to, say, store a table object
1464 * when only the table entries are mapped. Hence,
1516 /* Any mappings for table entries ? */
1527 * If it's a table, we also need to store the table
1575 * Object identified by given attribute name is added to specified table.
1637 * Remove object identified by given attributes from specified table.
1638 * If no attribute is supplied, all entries in table are removed.
1693 /* Return a copy of the version of specified table. */
1707 /* Return log entries since (later than) given version 'v' of table. */
1729 * Apply the given update specified in 'entry' to the specified table.
1747 * Checkpoint specified table (i.e. incorporate logged updates to main
1774 /* Print statistics of specified table to stdout. */
1790 /* Print statistics of indices of specified table to stdout. */
1802 /* Print specified index of table to stdout. */
1821 /* Returns DB_SUCCESS if table exists; DB_BADTABLE if table does not exist. */
1833 * Returns DB_SUCCESS if table exists; DB_BADTABLE if table does not exist.
1834 * If table already loaded, unload it.
1852 * Put the specified table in deferred mode, which means that updates go
1853 * to the original table, but reads are satisfied out of a copy (which we
1854 * make here). Thus, "defer" refers to the table as seen by read requests,
1866 * Commit deferred changes for the specified table. I.e., make visible
1867 * any updates made since the table was deferred.