You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
476 B
C
29 lines
476 B
C
#pragma once
|
|
|
|
#include "http/server/server.h"
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
struct app_args
|
|
{
|
|
//uint16_t port;
|
|
struct http_server_args http_settings;
|
|
//char* addr;
|
|
char* domain;
|
|
char* tor_hidden_service;
|
|
bool debug;
|
|
int section;
|
|
bool disable_tor;
|
|
int tor_socks_port;
|
|
|
|
int outbox_discard_limit;
|
|
|
|
bool develop;
|
|
};
|
|
|
|
struct app_args* app_args_new( int argc, char** argv );
|
|
void app_args_release( struct app_args* args );
|
|
extern struct app_args* g_server;
|
|
|