remote.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "intl.h"
#include "logging.h"
#include "defines.h"
#include "ui.h"
#include "remote.h"
Include dependency graph for remote.c:
Define Documentation
| #define REMOTE_MSG_BUF (xetpan->remote_msg[xetpan->remote_idx])
|
|
| #define REMOTE_MSG_PREFIX "XetPan>"
|
|
| #define REMOTE_MSG_PREFIX_LEN strlen(REMOTE_MSG_PREFIX)
|
|
| #define REMOTE_PREAMBLE_LEN
|
|
| #define REMOTE_SIZE_LEN sizeof(REMOTE_SIZE_TYPE)
|
|
| #define REMOTE_SIZE_MAX 0xFFFF
|
|
| #define REMOTE_SIZE_TYPE unsigned short int
|
|
| #define REMOTE_TOKEN_LEN 1
|
|
| #define XETPAN_LOCK_SOCKET ".xetpan.socket"
|
|
Enumeration Type Documentation
|
|
- Enumeration values:
-
| REMOTE_READING_MSG_PREFIX |
|
| REMOTE_READING_MSG_SIZE |
|
| REMOTE_READING_MSG_CONTENT |
|
|
|
|
- Enumeration values:
-
| REMOTE_STATE_MSG_COMPLETED |
|
| REMOTE_STATE_MSG_INCOMPLETE |
|
| REMOTE_STATE_MSG_ERROR |
|
| REMOTE_STATE_MSG_ABORTED |
|
|
Function Documentation
| int a_Remote_be_a_server |
( |
XetPan * |
xetpan |
) |
|
|
Here is the call graph for this function:
| int a_Remote_build_msg |
( |
XePRemote * |
remote, |
|
|
char |
cmd, |
|
|
const char * |
option |
|
) |
|
|
| int a_Remote_check_for_server |
( |
XetPan * |
xetpan |
) |
|
|
Here is the call graph for this function:
| void a_Remote_close_unlink_socket |
( |
XetPan * |
xetpan |
) |
|
|
Here is the call graph for this function:
| void a_Remote_send_cmd_result |
( |
XePRemote * |
remote |
) |
|
|
Here is the call graph for this function:
| void a_Remote_send_command |
( |
XetPan * |
xetpan, |
|
|
char |
cmd, |
|
|
const char * |
option |
|
) |
|
|
Here is the call graph for this function:
Generated on Wed Oct 22 15:55:28 2003 for XetPan by
1.3.2