tor  master
tor_api.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2017, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
30 #ifndef TOR_API_H
31 #define TOR_API_H
32 
34 
39 
50  int argc, char *argv[]);
51 
59 
87 
98 int tor_main(int argc, char **argv);
99 
100 #endif /* !defined(TOR_API_H) */
101 
Definition: tor_api_internal.h:12
void tor_main_configuration_free(tor_main_configuration_t *cfg)
Definition: tor_api.c:57
int argc
Definition: tor_api_internal.h:14
char ** argv
Definition: tor_api_internal.h:16
int tor_main_configuration_set_command_line(tor_main_configuration_t *cfg, int argc, char *argv[])
Definition: tor_api.c:46
int tor_main(int argc, char **argv)
int tor_run_main(const tor_main_configuration_t *)
Definition: main.c:4196
tor_main_configuration_t * tor_main_configuration_new(void)
Definition: tor_api.c:30