X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fprocess.h;h=080685b8551cdc2a40d697d3c38ceaa25852f84a;hb=b8667492cf36a609939ee35ac42900ff0b0cc80f;hp=1bbeedac3f07bb5379515683024cb986cb90e221;hpb=ba1c173f544383aa6553a75dee6e6858d8f243a4;p=libucw.git diff --git a/ucw/process.h b/ucw/process.h index 1bbeedac..080685b8 100644 --- a/ucw/process.h +++ b/ucw/process.h @@ -10,15 +10,29 @@ #ifndef _UCW_PROCESS_H #define _UCW_PROCESS_H +#ifdef CONFIG_UCW_CLEAN_ABI +#define echo_command ucw_echo_command +#define echo_command_v ucw_echo_command_v +#define exec_command ucw_exec_command +#define exec_command_v ucw_exec_command_v +#define format_exit_status ucw_format_exit_status +#define getproctitle ucw_getproctitle +#define run_command ucw_run_command +#define run_command_v ucw_run_command_v +#define setproctitle ucw_setproctitle +#define setproctitle_init ucw_setproctitle_init +#endif + /* proctitle.c */ +// Must be called before parsing of arguments void setproctitle_init(int argc, char **argv); void setproctitle(const char *msg, ...) FORMAT_CHECK(printf,1,2); char *getproctitle(void); /* exitstatus.c */ -#define EXIT_STATUS_MSG_SIZE 32 +#define EXIT_STATUS_MSG_SIZE 64 int format_exit_status(char *msg, int stat); /* runcmd.c */