#include <sys/param.h>#include <sys/stat.h>#include <atalk/adouble.h>#include <atalk/cnid_private.h>Go to the source code of this file.
Data Structures | |
| struct | cnid_dbd_rqst |
| struct | cnid_dbd_rply |
| struct | CNID_bdb_private |
Macros | |
| #define | CNID_DBD_OP_OPEN 0x01 |
| #define | CNID_DBD_OP_CLOSE 0x02 |
| #define | CNID_DBD_OP_ADD 0x03 |
| #define | CNID_DBD_OP_GET 0x04 |
| #define | CNID_DBD_OP_RESOLVE 0x05 |
| #define | CNID_DBD_OP_LOOKUP 0x06 |
| #define | CNID_DBD_OP_UPDATE 0x07 |
| #define | CNID_DBD_OP_DELETE 0x08 |
| #define | CNID_DBD_OP_MANGLE_ADD 0x09 |
| #define | CNID_DBD_OP_MANGLE_GET 0x0a |
| #define | CNID_DBD_OP_GETSTAMP 0x0b |
| #define | CNID_DBD_OP_REBUILD_ADD 0x0c |
| #define | CNID_DBD_OP_SEARCH 0x0d |
| #define | CNID_DBD_OP_WIPE 0x0e |
| #define | CNID_DBD_RES_OK 0x00 |
| #define | CNID_DBD_RES_NOTFOUND 0x01 |
| #define | CNID_DBD_RES_ERR_DB 0x02 |
| #define | CNID_DBD_RES_ERR_MAX 0x03 |
| #define | CNID_DBD_RES_ERR_DUPLCNID 0x04 |
| #define | CNID_DBD_RES_SRCH_CNT 0x05 |
| #define | CNID_DBD_RES_SRCH_DONE 0x06 |
| #define | DBD_MAX_SRCH_RSLTS 100 |
| #define | DBD_NUM_OPEN_ARGS 3 |
Typedefs | |
| typedef struct CNID_bdb_private | CNID_bdb_private |
Interface to the cnid_dbd daemon that stores/retrieves CNIDs from a database.
| #define CNID_DBD_OP_ADD 0x03 |
| #define CNID_DBD_OP_CLOSE 0x02 |
| #define CNID_DBD_OP_DELETE 0x08 |
| #define CNID_DBD_OP_GET 0x04 |
| #define CNID_DBD_OP_GETSTAMP 0x0b |
| #define CNID_DBD_OP_LOOKUP 0x06 |
| #define CNID_DBD_OP_MANGLE_ADD 0x09 |
| #define CNID_DBD_OP_MANGLE_GET 0x0a |
| #define CNID_DBD_OP_OPEN 0x01 |
| #define CNID_DBD_OP_REBUILD_ADD 0x0c |
| #define CNID_DBD_OP_RESOLVE 0x05 |
| #define CNID_DBD_OP_SEARCH 0x0d |
| #define CNID_DBD_OP_UPDATE 0x07 |
| #define CNID_DBD_OP_WIPE 0x0e |
| #define CNID_DBD_RES_ERR_DB 0x02 |
| #define CNID_DBD_RES_ERR_DUPLCNID 0x04 |
| #define CNID_DBD_RES_ERR_MAX 0x03 |
| #define CNID_DBD_RES_NOTFOUND 0x01 |
| #define CNID_DBD_RES_OK 0x00 |
| #define CNID_DBD_RES_SRCH_CNT 0x05 |
| #define CNID_DBD_RES_SRCH_DONE 0x06 |
| #define DBD_MAX_SRCH_RSLTS 100 |
| #define DBD_NUM_OPEN_ARGS 3 |
| typedef struct CNID_bdb_private CNID_bdb_private |