#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <atalk/afp.h>#include <atalk/dsi.h>#include <atalk/globals.h>#include <atalk/logger.h>#include <atalk/unix.h>#include <atalk/util.h>#include "misc.h"Macros | |
| #define | MAXMESGSIZE 199 |
Functions | |
| int | setmessage (const char *message) |
| Copy AFP message to message buffer. | |
| void | readmessage (AFPObj *obj) |
| int | afp_getsrvrmesg (AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen) |
Variables | |
| static char | servermesg [MAXPATHLEN] = "" |
| static char | localized_message [MAXPATHLEN] = "" |
| #define MAXMESGSIZE 199 |
| int afp_getsrvrmesg | ( | AFPObj * | obj, |
| char * | ibuf, | ||
| size_t | ibuflen, | ||
| char * | rbuf, | ||
| size_t * | rbuflen ) |
| void readmessage | ( | AFPObj * | obj | ) |
| int setmessage | ( | const char * | message | ) |
Copy AFP message to message buffer.
| [in] | message | message to send |
|
static |
|
static |