#include <arpa/inet.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <atalk/adouble.h>#include <atalk/ea.h>#include <atalk/errchk.h>#include <atalk/logger.h>#include <atalk/unix.h>#include <atalk/util.h>#include "ad_lock.h"Macros | |
| #define | EID_DISK(a) |
Functions | |
| int | ad_rebuild_adouble_header_v2 (struct adouble *ad) |
| int | ad_rebuild_adouble_header_ea (struct adouble *ad) |
| int | ad_rebuild_adouble_header_osx (struct adouble *ad, char *adbuf) |
| int | ad_copy_header (struct adouble *add, struct adouble *ads) |
| static int | ad_flush_hf (struct adouble *ad) |
| static int | ad_flush_rf (struct adouble *ad) |
| Flush resofork adouble file if any. | |
| int | ad_flush (struct adouble *ad) |
| static int | ad_data_closefd (struct adouble *ad) |
| int | ad_close (struct adouble *ad, int adflags) |
Variables | |
| static const uint32_t | set_eid [] |
| #define EID_DISK | ( | a | ) |
| int ad_close | ( | struct adouble * | ad, |
| int | adflags ) |
Close a struct adouble freeing all resources
|
static |
| int ad_flush | ( | struct adouble * | ad | ) |
|
static |
|
static |
Flush resofork adouble file if any.
| int ad_rebuild_adouble_header_ea | ( | struct adouble * | ad | ) |
| int ad_rebuild_adouble_header_osx | ( | struct adouble * | ad, |
| char * | adbuf ) |
Prepare adbuf buffer from struct adouble for writing on disk
| int ad_rebuild_adouble_header_v2 | ( | struct adouble * | ad | ) |
Prepare ad->ad_data buffer from struct adouble for writing on disk
|
static |