diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-10 12:41:16 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-10 12:41:16 +0000 |
commit | 59a04d58f048fb9192fb0bad8a959bb1d6498d04 (patch) | |
tree | a3dc4c0cc8f4044c7513396ab7cf720ad4e9016d /usr.sbin/ntpd/ntpd.h | |
parent | d1d4402f447e6d89ce22c1fa98941cdfe86b6dde (diff) |
move memory allocation for new peers into a new function, makes ID allocation
easier
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r-- | usr.sbin/ntpd/ntpd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h index d093ca5d187..db3efbc8032 100644 --- a/usr.sbin/ntpd/ntpd.h +++ b/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.31 2004/07/29 11:01:48 henning Exp $ */ +/* $OpenBSD: ntpd.h,v 1.32 2004/08/10 12:41:15 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -207,8 +207,9 @@ int parse_config(char *, struct ntpd_conf *); int cmdline_symset(char *); /* config.c */ -int host(const char *, struct ntp_addr **); -int host_dns(const char *, struct ntp_addr **); +int host(const char *, struct ntp_addr **); +int host_dns(const char *, struct ntp_addr **); +struct ntp_peer *new_peer(void); /* ntp_msg.c */ int ntp_getmsg(char *, ssize_t, struct ntp_msg *); |