netatalk  4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
afparg_FPfuncs.c File Reference
#include <errno.h>
#include <limits.h>
#include <time.h>
#include "afpcmd.h"
#include "afphelper.h"
#include "testhelper.h"

Macros

#define FPREAD_ARG_MAX   (1024 * 1024)

Functions

static int args_required (char **argv, int count, const char *usage)
static long parse_hold_seconds (const char *arg)
static void hold_and_close_fork (uint16_t fork, long secs)
void FPCopyFile_arg (char **argv)
void FPResolveID_arg (char **argv)
static void handler ()
static void lock_hold_common (char **argv, const char *what, int access)
void FPLockrw_arg (char **argv)
void FPLockw_arg (char **argv)
void FPEnumerate_arg (char **argv)
void FPWrite_arg (char **argv)
void FPRead_arg (char **argv)
void FPSetEA_arg (char **argv)
void FPGetEA_arg (char **argv)
void FPSetInhibit_arg (char **argv)
void FPByteLockHold_arg (char **argv)

Macro Definition Documentation

◆ FPREAD_ARG_MAX

#define FPREAD_ARG_MAX   (1024 * 1024)

Function Documentation

◆ args_required()

int args_required ( char ** argv,
int count,
const char * usage )
static

◆ FPByteLockHold_arg()

void FPByteLockHold_arg ( char ** argv)

◆ FPCopyFile_arg()

void FPCopyFile_arg ( char ** argv)

◆ FPEnumerate_arg()

void FPEnumerate_arg ( char ** argv)

◆ FPGetEA_arg()

void FPGetEA_arg ( char ** argv)

◆ FPLockrw_arg()

void FPLockrw_arg ( char ** argv)

◆ FPLockw_arg()

void FPLockw_arg ( char ** argv)

◆ FPRead_arg()

void FPRead_arg ( char ** argv)

◆ FPResolveID_arg()

void FPResolveID_arg ( char ** argv)

◆ FPSetEA_arg()

void FPSetEA_arg ( char ** argv)

◆ FPSetInhibit_arg()

void FPSetInhibit_arg ( char ** argv)

◆ FPWrite_arg()

void FPWrite_arg ( char ** argv)

◆ handler()

void handler ( )
static

◆ hold_and_close_fork()

void hold_and_close_fork ( uint16_t fork,
long secs )
static

◆ lock_hold_common()

void lock_hold_common ( char ** argv,
const char * what,
int access )
static

◆ parse_hold_seconds()

long parse_hold_seconds ( const char * arg)
static