netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
directory.h File Reference
#include <arpa/inet.h>
#include <dirent.h>
#include <stdint.h>
#include <sys/types.h>
#include <bstrlib.h>
#include <atalk/cnid.h>
#include <atalk/queue.h>
#include <atalk/unicode.h>

Go to the source code of this file.

Data Structures

struct  dir
struct  path

Macros

#define DIRBITS   S_ISGID
#define DIRDID_ROOT_PARENT   htonl(1)
#define DIRDID_ROOT   htonl(2)
#define DIRF_FSMASK   (3<<0)
#define DIRF_NOFS   (0<<0)
#define DIRF_UFS   (1<<1)
#define DIRF_ISFILE   (1<<3)
#define DIRF_OFFCNT   (1<<4)
#define DIRF_CNID   (1<<5)
#define DIRF_UNVALIDATED   (1<<6)

Functions

static int path_isadir (struct path *o_path)

Variables

struct dir rootParent

Macro Definition Documentation

◆ DIRBITS

#define DIRBITS   S_ISGID

◆ DIRDID_ROOT

#define DIRDID_ROOT   htonl(2)

◆ DIRDID_ROOT_PARENT

#define DIRDID_ROOT_PARENT   htonl(1)

◆ DIRF_CNID

#define DIRF_CNID   (1<<5)

◆ DIRF_FSMASK

#define DIRF_FSMASK   (3<<0)

◆ DIRF_ISFILE

#define DIRF_ISFILE   (1<<3)

◆ DIRF_NOFS

#define DIRF_NOFS   (0<<0)

◆ DIRF_OFFCNT

#define DIRF_OFFCNT   (1<<4)

◆ DIRF_UFS

#define DIRF_UFS   (1<<1)

◆ DIRF_UNVALIDATED

#define DIRF_UNVALIDATED   (1<<6)

Function Documentation

◆ path_isadir()

int path_isadir ( struct path * o_path)
inlinestatic

Variable Documentation

◆ rootParent

struct dir rootParent
extern