netatalk  4.4.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
35extern void status_versions(char * /*status*/,
36#ifndef NO_DDP
37 const ASP,
38#endif
39 const DSI *);
40extern void status_uams(char * /*status*/, const char * /*authlist*/);
41extern void status_init(AFPObj *, AFPObj *, DSI *dsi);
42extern void set_signature(struct afp_options *);
43
44/* FP functions */
45int afp_getsrvrinfo(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
46 size_t *rbuflen);
47
48#endif
static DSI * dsi
Definition afparg.c:39
static size_t rbuflen
Definition afpfunc_helpers.c:45
static char rbuf[rbufsize]
Definition afpfunc_helpers.c:44
DSI (Data Stream Interface) protocol definitions.
static AFPObj obj
Definition netatalk.c:62
int afp_getsrvrinfo(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
Definition status.c:812
void status_uams(char *, const char *)
Definition afpd/auth.c:117
void set_signature(struct afp_options *)
Set the server signature.
Definition status.c:615
void status_versions(char *, const ASP, const DSI *)
Definition afpd/auth.c:63
void status_init(AFPObj *, AFPObj *, DSI *dsi)
Definition status.c:441
Definition globals.h:154
Definition asp.h:43
Definition include/atalk/dsi.h:58
Definition globals.h:93