#include "cnid_last.h"#include <atalk/logger.h>#include <atalk/util.h>#include <stdlib.h>#include <arpa/inet.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>Functions | |
| cnid_t | cnid_last_add (struct _cnid_db *cdb, const struct stat *st, cnid_t did, const char *name, size_t len, cnid_t hint) |
| void | cnid_last_close (struct _cnid_db *cdb) |
| int | cnid_last_delete (struct _cnid_db *cdb, const cnid_t id) |
| cnid_t | cnid_last_get (struct _cnid_db *cdb, cnid_t did, const char *name, size_t len) |
| cnid_t | cnid_last_lookup (struct _cnid_db *cdb, const struct stat *st, cnid_t did, const char *name, size_t len) |
| static struct _cnid_db * | cnid_last_new (struct vol *vol) |
| struct _cnid_db * | cnid_last_open (struct cnid_open_args *args) |
| char * | cnid_last_resolve (struct _cnid_db *cdb, cnid_t *id, void *buffer, size_t len) |
| int | cnid_last_update (struct _cnid_db *cdb, cnid_t id, const struct stat *st, cnid_t did, const char *name, size_t len) |
Variables | |
| struct _cnid_module | cnid_last_module |
| cnid_t cnid_last_add | ( | struct _cnid_db * | cdb, |
| const struct stat * | st, | ||
| cnid_t | did, | ||
| const char * | name, | ||
| size_t | len, | ||
| cnid_t | hint ) |
| void cnid_last_close | ( | struct _cnid_db * | cdb | ) |
Return CNID for a given did/name.
| cnid_t cnid_last_lookup | ( | struct _cnid_db * | cdb, |
| const struct stat * | st, | ||
| cnid_t | did, | ||
| const char * | name, | ||
| size_t | len ) |
| struct _cnid_db * cnid_last_open | ( | struct cnid_open_args * | args | ) |
Return the did/name pair corresponding to a CNID.
| int cnid_last_update | ( | struct _cnid_db * | cdb, |
| cnid_t | id, | ||
| const struct stat * | st, | ||
| cnid_t | did, | ||
| const char * | name, | ||
| size_t | len ) |
| struct _cnid_module cnid_last_module |