Lines Matching defs:table

63  * 'tbl_prototype' is used to create a table that holds a directory.
124 * Given a FQ object name for a table or directory, return the (db *)
310 * Create new table using given table name and table descriptor.
320 * Destroys table named by 'table_name.' Returns DB_SUCCESS if successful,
321 * error code otherwise. Note that currently, the removed table is no
333 * Return a copy of the first entry in the specified table, that satisfies
366 * Return a copy of the next entry in the specified table as specified by
405 * Returns copies of entries that satisfy the given attributes from table.
449 * the internal table name for "y.z".
455 char *name, *table, *dir;
475 table = internalTableName(dir);
476 if (table == 0) {
481 *tableP = table;
501 char *name, *table = 0;
516 table = internalTableName(objName);
517 if (table == 0)
519 if (strcmp(ROOTDIRFILE, table) == 0) {
520 sfree(table);
531 sfree(table);
532 name = entryName(myself, objName, &table);
533 if (name == 0 || table == 0) {
538 dbase = InUseDictionary->find_table_noLDAP(table, &tbl, TRUE, TRUE);
539 sfree(table);
619 char *table, tbuf[MAXPATHLEN + NIS_MAXNAMELEN + 1];
628 table = internal_table_name(objName, tbuf);
629 if (table == 0) {
635 t = (__nis_table_mapping_t *)__nis_find_item_mt(table,
710 * use the rpc.nisd's table/directory locks for
770 char *ent, *table;
779 table = internalTableName(objName);
780 if (table == 0)
783 if (strcmp(ROOTDIRFILE, table) == 0) {
784 sfree(table);
792 sfree(table);
793 table = 0;
794 ent = entryName(myself, objName, &table);
795 if (ent == 0 || table == 0) {
800 dbase = InUseDictionary->find_table(table, &tbl, TRUE);
805 sfree(table);
816 sfree(table);
823 sfree(table);
882 char *ent, *table, *objTable;
930 * If the object is a table, we can't allow the scheme
958 * the disk file. Similarly, if creating a table, we
994 ent = entryName(myself, objName, &table);
995 if (ent == 0 || table == 0) {
1009 dbase = InUseDictionary->find_table(table, &tbl, TRUE);
1016 sfree(table);
1038 sfree(table);
1050 sfree(table);
1059 dbres = db_add_entry_x(table, 1, &attr, e, 0, 0);
1066 sfree(table);
1075 sfree(table);
1131 * If it's a table or directory, create the DB file.
1202 * If we have rules, this mapping is for table entries,
1331 /* Any mappings for table entries ? */
1343 * the object isn't a table, queryLDAP()
1406 * If it's a table or directory, there will be
1411 * For a table, we need the db_mindex for both the
1412 * table object itself, as well as for the parent
1413 * directory (in order to store table entries).
1425 "%s: Error deriving entry/DB-table names for %s:%s; skipping up-load",
1459 * table Store table obj, as well
1461 * table
1469 * success if we try to, say, store a table object
1470 * when only the table entries are mapped. Hence,
1522 /* Any mappings for table entries ? */
1533 * If it's a table, we also need to store the table
1581 * Object identified by given attribute name is added to specified table.
1643 * Remove object identified by given attributes from specified table.
1644 * If no attribute is supplied, all entries in table are removed.
1699 /* Return a copy of the version of specified table. */
1713 /* Return log entries since (later than) given version 'v' of table. */
1735 * Apply the given update specified in 'entry' to the specified table.
1753 * Checkpoint specified table (i.e. incorporate logged updates to main
1780 /* Print statistics of specified table to stdout. */
1796 /* Print statistics of indices of specified table to stdout. */
1808 /* Print specified index of table to stdout. */
1827 /* Returns DB_SUCCESS if table exists; DB_BADTABLE if table does not exist. */
1839 * Returns DB_SUCCESS if table exists; DB_BADTABLE if table does not exist.
1840 * If table already loaded, unload it.
1858 * Put the specified table in deferred mode, which means that updates go
1859 * to the original table, but reads are satisfied out of a copy (which we
1860 * make here). Thus, "defer" refers to the table as seen by read requests,
1872 * Commit deferred changes for the specified table. I.e., make visible
1873 * any updates made since the table was deferred.