1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-13 05:43:37 -04:00
elinks/src/main/main.h
Jonas Fonseca acf2ec806b Remove empty lines in start of header files
A left over from the CVS Id removal. Also, for a few files, normalize the
order in which things are declared in headers.
2005-11-15 11:33:27 +01:00

26 lines
698 B
C

#ifndef EL__MAIN_MAIN_H
#define EL__MAIN_MAIN_H
enum retval {
RET_OK, /* All is well */
RET_ERROR, /* Failed to fetch URL or write document when dumping */
RET_SIGNAL, /* Catched SIGTERM which forced program to stop */
RET_SYNTAX, /* Cmdline syntax error or bad or missing dump URL */
RET_FATAL, /* Fatal error occurred during initialization */
RET_PING, /* --remote "ping()" found no running ELinkses */
RET_REMOTE, /* --remote failed to connect to a running ELinks */
RET_COMMAND, /* Used internally for exiting from cmdline commands */
};
struct program {
int terminate;
enum retval retval;
unsigned char *path;
};
extern struct program program;
void shrink_memory(int);
#endif