diff options
author | Karl Ramm <kcr@1ts.org> | 2009-07-29 14:53:39 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-07-29 14:53:39 +0000 |
commit | 8ec76c0921175e45602d490cfa696eab781ac87a (patch) | |
tree | aa73ca2871b19990cbe490d438fe886287719016 /server/zserver.h | |
parent | c57cb726d8889f9bafa558698d98376485900034 (diff) |
Factor out code that extacts a sockaddr_in from a notice (and stop using the
deprecated sender_addr macro.)
Actually remove the code from realm.c:real_dispatch because nothing was using
the result.
Ran nuke-trailing-whitespace on all the files I touched, as usual.
Diffstat (limited to 'server/zserver.h')
-rw-r--r-- | server/zserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/zserver.h b/server/zserver.h index 2b5a908..3f195f6 100644 --- a/server/zserver.h +++ b/server/zserver.h @@ -274,6 +274,7 @@ Code_t client_send_clients(void); char *strsave(const char *str); unsigned long hash (const char *); void dump_quote(char *p, FILE *fp); +void notice_extract_address(ZNotice_t *notice, struct sockaddr_in *addr); /* found in dispatch.c */ void handle_packet(void); |