#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "intl.h"
#include "logging.h"
#include "defines.h"
#include "x_alloc.h"
#include "xetpan.h"
#include "conf.h"
#include "ui.h"
#include "remote.h"
#include "manager.h"
Include dependency graph for xetpan.c:
Compounds | |
struct | XePCLIOptions |
struct | XePCmd |
Enumerations | |
enum | XePCLIFlag { XETPAN_CLI_NONE = 0, XETPAN_CLI_COMPOSE = 1 << 0, XETPAN_CLI_SEND = 1 << 1, XETPAN_CLI_SEND_ALL_NOW = 1 << 2, XETPAN_CLI_RECEIVE = 1 << 3, XETPAN_CLI_STATUS = 1 << 4, XETPAN_CLI_CONFIG = 1 << 5, XETPAN_CLI_GTK = 1 << 6, XETPAN_CLI_TTY = 1 << 7, XETPAN_CLI_VIEW = 1 << 8, XETPAN_CLI_VERBOSE = 1 << 28, XETPAN_CLI_HELP = 1 << 29, XETPAN_CLI_VERSION = 1 << 30, XETPAN_CLI_ERROR = 1 << 31 } |
enum | { XETPAN_OPT_SEARCH, XETPAN_OPT_FOUND, XETPAN_OPT_OK, XETPAN_OPT_NOTFOUND, XETPAN_OPT_ERROR, XETPAN_OPT_DONE, XETPAN_OPT_RETURN } |
Functions | |
int | main (int argc, char **argv) |
int | a_XetPan_execute_remote_cmd (XePRemote *remote, char cmd, char *option) |
int | a_XetPan_should_end (XetPan *xetpan) |
void | a_XetPan_quit (XetPan *xetpan) |
Variables | |
int | verbose = 0 |
XetPan * | global_xetpan |
|
|
|
|
Execute a remote command. Called when a remote command is received.
|
Here is the call graph for this function:
|
Close all windows and exits UI loop |
Here is the call graph for this function:
|
Check if XetPan should exits. XetPan exits when no more UI interfaces are running. |
|
|
Here is the call graph for this function:
|
|
|
Verbosity level. Currently: 0 to be quiet, 1 to be verbose, 2 to help debugging |