summaryrefslogtreecommitdiff
path: root/server/zserver.h
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1998-07-16 10:55:05 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1998-07-16 10:55:05 +0000
commit7b0a769146e55626dcb495b3d31bf9d956c1ada9 (patch)
tree91dc58e5252fd0041986b5f3cf9b9337cc3dc938 /server/zserver.h
parent4fdf8f9d3fa9fd576e93e41cd9c4c97b6c931a7e (diff)
Eliminate some cruft: nuke two unused fields in the client structure
and rename client_which_client() to client_find() and make the second argument a port instead of a notice.
Diffstat (limited to 'server/zserver.h')
-rw-r--r--server/zserver.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/zserver.h b/server/zserver.h
index b581fae..219e82b 100644
--- a/server/zserver.h
+++ b/server/zserver.h
@@ -113,9 +113,6 @@ struct _Client {
C_Block session_key; /* session key for this client */
#endif /* HAVE_KRB4 */
String *principal; /* krb principal of user */
- time_t last_check; /* last time the other server was
- asked to check */
- long last_msg; /* last message sent to this client */
int last_send; /* Counter for last sent packet. */
Realm *realm;
struct _Client *next, **prev_p;
@@ -222,7 +219,7 @@ Code_t client_register __P((ZNotice_t *notice, struct in_addr *host,
void client_deregister __P((Client *client, int flush));
void client_flush_host __P((struct in_addr *host));
void client_dump_clients __P((FILE *fp));
-Client *client_which_client __P((struct in_addr *host, ZNotice_t *notice));
+Client *client_find __P((struct in_addr *host, unsigned int port));
Code_t client_send_clients __P((void));
/* found in common.c */