#include <arpa/inet.h>#include <stdlib.h>#include <string.h>#include <atalk/adouble.h>#include <atalk/errchk.h>#include <atalk/logger.h>#include <atalk/util.h>Macros | |
| #define | FILEIOFF_ATTR 14 |
| #define | AFPFILEIOFF_ATTR 2 |
Functions | |
| int | ad_getattr (const struct adouble *ad, uint16_t *attr) |
| int | ad_setattr (const struct adouble *ad, const uint16_t attribute) |
| int | ad_setid (struct adouble *adp, const dev_t dev, const ino_t ino, const uint32_t id, const cnid_t did, const void *stamp) |
| save file/folder ID in AppleDoubleV2 netatalk private parameters | |
| uint32_t | ad_getid (struct adouble *adp, const dev_t st_dev, const ino_t st_ino, const cnid_t did, const void *stamp) |
| Retrieve stored file / folder. | |
| uint32_t | ad_forcegetid (struct adouble *adp) |
| int | ad_setname (struct adouble *ad, const char *path) |
| #define AFPFILEIOFF_ATTR 2 |
| #define FILEIOFF_ATTR 14 |
| uint32_t ad_forcegetid | ( | struct adouble * | adp | ) |
| int ad_getattr | ( | const struct adouble * | ad, |
| uint16_t * | attr ) |
| uint32_t ad_getid | ( | struct adouble * | adp, |
| const dev_t | st_dev, | ||
| const ino_t | st_ino, | ||
| const cnid_t | did, | ||
| const void * | stamp ) |
Retrieve stored file / folder.
| int ad_setattr | ( | const struct adouble * | ad, |
| const uint16_t | attribute ) |
| int ad_setid | ( | struct adouble * | adp, |
| const dev_t | dev, | ||
| const ino_t | ino, | ||
| const uint32_t | id, | ||
| const cnid_t | did, | ||
| const void * | stamp ) |
save file/folder ID in AppleDoubleV2 netatalk private parameters
| int ad_setname | ( | struct adouble * | ad, |
| const char * | path ) |
set resource fork filename attribute.