Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
6a968495
Commit
6a968495
authored
Dec 06, 2003
by
Roger Dingledine
Browse files
declare the prototypes better
svn:r888
parent
c25fbd26
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/or/or.h
View file @
6a968495
...
...
@@ -625,7 +625,7 @@ int connection_edge_finished_flushing(connection_t *conn);
int
connection_edge_package_raw_inbuf
(
connection_t
*
conn
);
void
connection_exit_connect
(
connection_t
*
conn
);
int
connection_ap_can_use_exit
(
connection_t
*
conn
,
routerinfo_t
*
exit
);
void
connection_ap_attach_pending
(
void
);
extern
uint64_t
stats_n_data_cells_packaged
;
...
...
src/or/routerlist.c
View file @
6a968495
...
...
@@ -25,7 +25,14 @@ struct directory_token;
typedef
struct
directory_token
directory_token_t
;
/* static function prototypes */
static
int
router_add_exit_policy_from_string
(
routerinfo_t
*
router
,
char
*
s
);
static
int
router_set_routerlist_from_string
(
char
*
s
);
static
int
router_get_list_from_string_impl
(
char
**
s
,
routerlist_t
**
dest
,
int
n_good_nicknames
,
const
char
**
good_nickname_lst
);
static
int
router_get_routerlist_from_directory_impl
(
char
*
s
,
routerlist_t
**
dest
,
crypto_pk_env_t
*
pkey
);
static
int
router_add_exit_policy
(
routerinfo_t
*
router
,
directory_token_t
*
tok
);
static
int
router_resolve_routerlist
(
routerlist_t
*
dir
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment