netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
status.h
Go to the documentation of this file.
1#ifndef AFPD_STATUS_H
2#define AFPD_STATUS_H 1
3
4#include <atalk/dsi.h>
5#include <atalk/asp.h>
6#include <atalk/globals.h>
7
8#include "afp_config.h"
9
10/* we use these to prevent whacky alignment problems */
11#define AFPSTATUS_MACHOFF 0
12#define AFPSTATUS_VERSOFF 2
13#define AFPSTATUS_UAMSOFF 4
14#define AFPSTATUS_ICONOFF 6
15#define AFPSTATUS_FLAGOFF 8
16
22#define AFPSTATUS_PRELEN 10
23
29#define AFPSTATUS_POSTLEN 8
30#define AFPSTATUS_LEN (AFPSTATUS_PRELEN + AFPSTATUS_POSTLEN)
31
33#define AFPSTATUS_MACHLEN 16
34
35 extern void status_versions(char * /*status*/,
36#ifndef NO_DDP
37 const ASP,
38#endif
39 const DSI *);
40 extern void status_uams(char * /*status*/, const char * /*authlist*/);
41 extern void status_init(AFPObj *, AFPObj *, DSI *dsi);
42 extern void set_signature(struct afp_options *);
43
44/* FP functions */
45 int afp_getsrvrinfo(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
46 size_t *rbuflen);
47
48#endif
afp_config.h
dsi
static DSI * dsi
Definition afparg.c:39
rbuflen
static size_t rbuflen
Definition afpfunc_helpers.c:45
rbuf
static char rbuf[rbufsize]
Definition afpfunc_helpers.c:44
asp.h
NO_DDP
#define NO_DDP
Definition config.h:356
globals.h
dsi.h
DSI (Data Stream Interface) protocol definitions.
obj
static AFPObj obj
Definition netatalk.c:69
afp_getsrvrinfo
int afp_getsrvrinfo(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
Definition status.c:815
status_uams
void status_uams(char *, const char *)
Definition afpd/auth.c:170
set_signature
void set_signature(struct afp_options *)
Set the server signature.
Definition status.c:618
status_versions
void status_versions(char *, const ASP, const DSI *)
Definition afpd/auth.c:116
status_init
void status_init(AFPObj *, AFPObj *, DSI *dsi)
Definition status.c:441
AFPObj
Definition globals.h:166
ASP
Definition asp.h:43
DSI
Definition include/atalk/dsi.h:58
afp_options
Definition globals.h:98