diff options
Diffstat (limited to 'gnu/usr.sbin/sendmail/include/libsmdb/smdb.h')
-rw-r--r-- | gnu/usr.sbin/sendmail/include/libsmdb/smdb.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gnu/usr.sbin/sendmail/include/libsmdb/smdb.h b/gnu/usr.sbin/sendmail/include/libsmdb/smdb.h index 5606381b223..4628666b075 100644 --- a/gnu/usr.sbin/sendmail/include/libsmdb/smdb.h +++ b/gnu/usr.sbin/sendmail/include/libsmdb/smdb.h @@ -6,7 +6,7 @@ * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * $Sendmail: smdb.h,v 8.36 2001/05/18 14:55:56 ca Exp $ + * $Sendmail: smdb.h,v 8.37 2001/09/11 03:08:28 gshapiro Exp $ * */ @@ -56,7 +56,7 @@ typedef struct database_struct SMDB_DATABASE; typedef struct cursor_struct SMDB_CURSOR; typedef struct entry_struct SMDB_DBENT; -/* +/* ** DB_CLOSE_FUNC -- close the database ** ** Parameters: @@ -69,7 +69,7 @@ typedef struct entry_struct SMDB_DBENT; typedef int (*db_close_func) __P((SMDB_DATABASE *db)); -/* +/* ** DB_DEL_FUNC -- removes a key and data pair from the database ** ** Parameters: @@ -86,7 +86,7 @@ typedef int (*db_close_func) __P((SMDB_DATABASE *db)); typedef int (*db_del_func) __P((SMDB_DATABASE *db, SMDB_DBENT *key, unsigned int flags)); -/* +/* ** DB_FD_FUNC -- Returns a pointer to a file used for the database. ** ** Parameters: @@ -100,7 +100,7 @@ typedef int (*db_del_func) __P((SMDB_DATABASE *db, typedef int (*db_fd_func) __P((SMDB_DATABASE *db, int* fd)); -/* +/* ** DB_GET_FUNC -- Gets the data associated with a key. ** ** Parameters: @@ -119,7 +119,7 @@ typedef int (*db_get_func) __P((SMDB_DATABASE *db, SMDB_DBENT *key, SMDB_DBENT *data, unsigned int flags)); -/* +/* ** DB_PUT_FUNC -- Sets some data according to the key. ** ** Parameters: @@ -140,7 +140,7 @@ typedef int (*db_put_func) __P((SMDB_DATABASE *db, SMDB_DBENT *key, SMDB_DBENT *data, unsigned int flags)); -/* +/* ** DB_SYNC_FUNC -- Flush any cached information to disk. ** ** Parameters: @@ -154,7 +154,7 @@ typedef int (*db_put_func) __P((SMDB_DATABASE *db, typedef int (*db_sync_func) __P((SMDB_DATABASE *db, unsigned int flags)); -/* +/* ** DB_SET_OWNER_FUNC -- Set the owner and group of the database files. ** ** Parameters: @@ -169,7 +169,7 @@ typedef int (*db_sync_func) __P((SMDB_DATABASE *db, unsigned int flags)); typedef int (*db_set_owner_func) __P((SMDB_DATABASE *db, uid_t uid, gid_t gid)); -/* +/* ** DB_CURSOR -- Obtain a cursor for sequential access ** ** Parameters: @@ -200,7 +200,7 @@ struct database_struct db_lockfd_func smdb_lockfd; void *smdb_impl; }; -/* +/* ** DB_CURSOR_CLOSE -- Close a cursor ** ** Parameters: @@ -213,7 +213,7 @@ struct database_struct typedef int (*db_cursor_close_func) __P((SMDB_CURSOR *cursor)); -/* +/* ** DB_CURSOR_DEL -- Delete the key/value pair of this cursor ** ** Parameters: @@ -228,7 +228,7 @@ typedef int (*db_cursor_close_func) __P((SMDB_CURSOR *cursor)); typedef int (*db_cursor_del_func) __P((SMDB_CURSOR *cursor, unsigned int flags)); -/* +/* ** DB_CURSOR_GET -- Get the key/value of this cursor. ** ** Parameters: @@ -259,7 +259,7 @@ typedef int (*db_cursor_get_func) __P((SMDB_CURSOR *cursor, #define SMDB_CURSOR_GET_NEXT 2 #define SMDB_CURSOR_GET_RANGE 3 -/* +/* ** DB_CURSOR_PUT -- Put the key/value at this cursor. ** ** Parameters: |