diff options
author | John Kohl <jtkohl@mit.edu> | 1987-12-10 17:29:05 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-12-10 17:29:05 +0000 |
commit | fe82174369d0b2d7251b6dcf0753c5e9d9747073 (patch) | |
tree | a57cb57d1296ba326564dd1bc9a3a7aab0ade47f /server/subscr.c | |
parent | f106c53a5e5bf0ff9ac5a2f47b5561b7f3718f95 (diff) |
add a version argument to subscr_send_subs so that the routine
can deal with different version servers
Diffstat (limited to 'server/subscr.c')
-rw-r--r-- | server/subscr.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/server/subscr.c b/server/subscr.c index e046173..c38b26c 100644 --- a/server/subscr.c +++ b/server/subscr.c @@ -50,8 +50,9 @@ static char rcsid_subscr_s_c[] = "$Header$"; * int auth; * struct sockaddr_in *who; * - * Code_t subscr_send_subs(client) + * Code_t subscr_send_subs(client, version) * ZClient_t *client; + * char *version; */ #include "zserver.h" @@ -579,9 +580,14 @@ struct sockaddr_in *who; * Send the client's subscriptions */ +/* version is currently unused; if necessary later versions may key off it + to determine what to send to the peer (protocol changes) */ + +/*ARGSUSED*/ Code_t -subscr_send_subs(client) +subscr_send_subs(client, version) ZClient_t *client; +char *version; { register int i = 0; register ZSubscr_t *sub; |