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.
24 lines
371 B
C
24 lines
371 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
struct app_args
|
|
{
|
|
uint16_t port;
|
|
char* addr;
|
|
char* domain;
|
|
char* tor_hidden_service;
|
|
bool debug;
|
|
int section;
|
|
bool disable_tor;
|
|
int tor_socks_port;
|
|
|
|
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;
|
|
|