version 1.22, 2009/07/29 05:36:53 |
version 1.23, 2009/07/29 14:17:26 |
|
|
|
|
__dead void usage(void); |
__dead void usage(void); |
char *makesockpath(const char *); |
char *makesockpath(const char *); |
int prepare_unlock(enum hdrtype *, void **, size_t *, int); |
int prepare_unlock(enum msgtype *, void **, size_t *, int); |
int prepare_cmd(enum hdrtype *, void **, size_t *, int, char **); |
int prepare_cmd(enum msgtype *, void **, size_t *, int, char **); |
|
|
__dead void |
__dead void |
usage(void) |
usage(void) |
|
|
} |
} |
|
|
int |
int |
prepare_unlock(enum hdrtype *msg, void **buf, size_t *len, int argc) |
prepare_unlock(enum msgtype *msg, void **buf, size_t *len, int argc) |
{ |
{ |
static struct msg_unlock_data unlockdata; |
static struct msg_unlock_data unlockdata; |
char *pass; |
char *pass; |
|
|
} |
} |
|
|
int |
int |
prepare_cmd(enum hdrtype *msg, void **buf, size_t *len, int argc, char **argv) |
prepare_cmd(enum msgtype *msg, void **buf, size_t *len, int argc, char **argv) |
{ |
{ |
static struct msg_command_data cmddata; |
static struct msg_command_data cmddata; |
|
|
|
|
struct cmd_list *cmdlist; |
struct cmd_list *cmdlist; |
struct cmd *cmd; |
struct cmd *cmd; |
struct pollfd pfd; |
struct pollfd pfd; |
enum hdrtype msg; |
enum msgtype msg; |
struct hdr hdr; |
struct hdr hdr; |
struct passwd *pw; |
struct passwd *pw; |
struct msg_print_data printdata; |
struct msg_print_data printdata; |