#include <sys/types.h>
#include <netatalk/at.h>
#include <atalk/atp.h>
#include <atalk/afp.h>
#include <atalk/server_child.h>
Go to the source code of this file.
|
| ASP | asp_init (ATP) |
| void | asp_setstatus (ASP, char *, const int) |
| ASP | asp_getsession (ASP, server_child_t *, const int) |
| | This call handles open, tickle, and getstatus requests.
|
| int | asp_close (ASP) |
| int | asp_shutdown (ASP) |
| int | asp_attention (ASP, AFPUserBytes) |
| int | asp_getrequest (ASP) |
| int | asp_cmdreply (ASP, int) |
| int | asp_wrtcont (ASP, char *, size_t *) |
| void | asp_kill (int) |
| int | asp_tickle (ASP, const uint8_t, struct sockaddr_at *) |
| void | asp_stop_tickle (void) |
◆ ASP_CMDMAXSIZ
◆ ASP_CMDSIZ
◆ ASP_DATAMAXSIZ
◆ ASP_DATASIZ
◆ ASP_HDRSIZ
◆ ASP_MAXPACKETS
◆ asp_seq
| #define asp_seq asp_u.asu_seq |
◆ asp_slen
| #define asp_slen asp_u.asu_status.as_slen |
◆ asp_status
| #define asp_status asp_u.asu_status.as_status |
◆ asp_wrtreply
| #define asp_wrtreply |
( |
| a, |
|
|
| b ) |
Value:
int asp_cmdreply(ASP, int)
Definition asp_cmdreply.c:36
◆ ASPERR_BADVERS
| #define ASPERR_BADVERS 0xfbd6 |
◆ ASPERR_BUFSMALL
| #define ASPERR_BUFSMALL 0xfbd5 |
◆ ASPERR_NOACK
| #define ASPERR_NOACK 0xfbcd |
◆ ASPERR_NOSERV
| #define ASPERR_NOSERV 0xfbd3 |
◆ ASPERR_NOSESS
| #define ASPERR_NOSESS 0xfbd4 |
◆ ASPERR_OK
◆ ASPERR_PARM
| #define ASPERR_PARM 0xfbd2 |
◆ ASPERR_SERVBUSY
| #define ASPERR_SERVBUSY 0xfbd1 |
◆ ASPERR_SESSCLOS
| #define ASPERR_SESSCLOS 0xfbd0 |
◆ ASPERR_SIZERR
| #define ASPERR_SIZERR 0xfbcf |
◆ ASPERR_TOOMANY
| #define ASPERR_TOOMANY 0xfbce |
◆ ASPFL_SLS
◆ ASPFL_SSS
◆ ASPFUNC_ATTN
◆ ASPFUNC_CLOSE
◆ ASPFUNC_CMD
◆ ASPFUNC_OPEN
◆ ASPFUNC_STAT
◆ ASPFUNC_TICKLE
◆ ASPFUNC_WRITE
◆ ASPFUNC_WRTCONT
| #define ASPFUNC_WRTCONT 7 |
◆ ASP
◆ asp_attention()
◆ asp_close()
◆ asp_cmdreply()
| int asp_cmdreply |
( |
ASP | asp, |
|
|
int | result ) |
|
extern |
◆ asp_getrequest()
| int asp_getrequest |
( |
ASP | asp | ) |
|
|
extern |
◆ asp_getsession()
This call handles open, tickle, and getstatus requests.
- Note
- On a successful open, it forks a child process.
- Returns
- an ASP to the child and parent and NULL if there is an error.
◆ asp_init()
◆ asp_kill()
◆ asp_setstatus()
| void asp_setstatus |
( |
ASP | asp, |
|
|
char * | status, |
|
|
const int | slen ) |
|
extern |
◆ asp_shutdown()
| int asp_shutdown |
( |
ASP | asp | ) |
|
|
extern |
◆ asp_stop_tickle()
| void asp_stop_tickle |
( |
void | | ) |
|
|
extern |
◆ asp_tickle()
| int asp_tickle |
( |
ASP | asp, |
|
|
const uint8_t | sid, |
|
|
struct sockaddr_at * | sat ) |
|
extern |
◆ asp_wrtcont()
| int asp_wrtcont |
( |
ASP | asp, |
|
|
char * | buf, |
|
|
size_t * | buflen ) |
|
extern |