Linux Kernel
3.7.1
|
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/uio.h>
#include <sys/un.h>
#include "mconsole.h"
Go to the source code of this file.
Macros | |
#define | MIN(a, b) ((a)<(b) ? (a):(b)) |
#define | STRINGX(x) #x |
#define | STRING(x) STRINGX(x) |
Functions | |
int | mconsole_get_request (int fd, struct mc_request *req) |
int | mconsole_reply_len (struct mc_request *req, const char *str, int total, int err, int more) |
int | mconsole_reply (struct mc_request *req, const char *str, int err, int more) |
int | mconsole_unlink_socket (void) |
int | mconsole_notify (char *sock_name, int type, const void *data, int len) |
Variables | |
char | mconsole_socket_name [256] |
Definition at line 77 of file mconsole_user.c.
Definition at line 76 of file mconsole_user.c.
int mconsole_get_request | ( | int | fd, |
struct mc_request * | req | ||
) |
Definition at line 79 of file mconsole_user.c.
Definition at line 179 of file mconsole_user.c.
int mconsole_reply | ( | struct mc_request * | req, |
const char * | str, | ||
int | err, | ||
int | more | ||
) |
Definition at line 165 of file mconsole_user.c.
Definition at line 126 of file mconsole_user.c.
Definition at line 171 of file mconsole_user.c.
char mconsole_socket_name[256] |
Definition at line 38 of file mconsole_user.c.