
/*---------------------------------------------------------------------------*/
/* apparguments.h                                                                 */
/* copyright (c) innovaphone 2015                                            */
/*                                                                           */
/*---------------------------------------------------------------------------*/

typedef struct {
    const char * appCommand;
	const char * appPassword;
    const char * managerLocalPath;
	const char * serviceID;
    const char * webserverLocalPath;
    const char * defaultPath;
    ISocketContext::tls_profile_t tlsProfile;
    bool redirectToTLS;
    ulong64 logFlags;
    bool segfaulted;
    word httpPort;
    word httpsPort;
    bool disableHexdumps;
    off_t logFileSize;
    bool reuseAddr;
} app_arguments_t;

app_arguments_t * ParseArguments(int argc, char *argv[]);
