[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] declare the prototypes better
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
or.h routerlist.c
Log Message:
declare the prototypes better
Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- or.h 6 Dec 2003 05:54:04 -0000 1.198
+++ or.h 6 Dec 2003 06:01:42 -0000 1.199
@@ -625,7 +625,7 @@
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;
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- routerlist.c 6 Dec 2003 05:54:04 -0000 1.1
+++ routerlist.c 6 Dec 2003 06:01:42 -0000 1.2
@@ -25,7 +25,14 @@
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);