-/* $OpenBSD: extern.h,v 1.31 2018/09/18 17:48:22 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.32 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: extern.h,v 1.8 1996/10/31 23:50:54 christos Exp $ */
/*-
Char **saveblk(Char **);
Char *strip(Char *);
Char *quote(Char *);
-char *strspl(char *, char *);
void udvar(Char *);
/*
-/* $OpenBSD: crc.h,v 1.4 2019/01/25 00:19:25 millert Exp $ */
+/* $OpenBSD: crc.h,v 1.5 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 2004 Todd C. Miller <millert@openbsd.org>
void CKSUM_Update(CKSUM_CTX *, const u_int8_t *, size_t);
void CKSUM_Final(CKSUM_CTX *);
char *CKSUM_End(CKSUM_CTX *, char *);
-char *CKSUM_Data(const u_int8_t *, size_t, char *);
-/* $OpenBSD: mt.h,v 1.3 2003/06/02 23:32:08 millert Exp $ */
+/* $OpenBSD: mt.h,v 1.4 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: mt.h,v 1.1 1996/03/05 20:39:36 scottr Exp $ */
/*-
int rmtioctl(int command, int count);
struct mtget *rmtstatus(void);
-void interrupt(int signo); /* in case operator bangs on console */
-
/*
* Exit status codes
*/
-/* $OpenBSD: extern.h,v 1.6 2003/06/02 23:32:09 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.7 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: extern.h,v 1.8 1996/05/07 18:20:06 jtc Exp $ */
/*-
extern char *__progname;
-int c_cchars(const void *, const void *);
-int c_modes(const void *, const void *);
int csearch(char ***, struct info *);
-void checkredirect(void);
void gprint(struct termios *, struct winsize *, int);
void gread(struct termios *, char *);
int ksearch(char ***, struct info *);
int msearch(char ***, struct info *);
-void optlist(void);
void print(struct termios *, struct winsize *, int, enum FMT);
void usage(void);
-/* $OpenBSD: fortune.c,v 1.63 2021/01/03 01:32:13 schwarze Exp $ */
+/* $OpenBSD: fortune.c,v 1.64 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $ */
/*-
__dead void usage(void);
void zero_tbl(STRFILE *);
-char *conv_pat(char *);
int find_matches(void);
void matches_in_list(FILEDESC *);
int maxlen_in_list(FILEDESC *);
-/* $OpenBSD: hack.h,v 1.14 2023/06/03 15:19:38 op Exp $*/
+/* $OpenBSD: hack.h,v 1.15 2024/05/21 05:00:47 jsg Exp $*/
/* $NetBSD: hack.h,v 1.3 1995/03/23 08:30:21 cgd Exp $*/
/*
int phase_of_the_moon(void);
int night(void);
int midnight(void);
-void gethdate(char *);
void getlock(void);
#ifdef MAIL
void getmailstatus(void);
-/* $OpenBSD: display.h,v 1.3 2003/06/17 00:36:36 pjanzen Exp $ */
+/* $OpenBSD: display.h,v 1.4 2024/05/21 05:00:47 jsg Exp $ */
/* David Leonard <d@openbsd.org>, 1999. Public domain. */
void display_open(void);
void display_redraw_screen(void);
int display_iskillchar(char);
int display_iserasechar(char);
-
-extern int cur_row, cur_col;
-/* $OpenBSD: main.c,v 1.22 2016/08/27 02:00:10 guenther Exp $ */
+/* $OpenBSD: main.c,v 1.23 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: main.c,v 1.3 1995/04/24 12:24:37 cgd Exp $ */
/*
/ MODULES CALLED: signal(), wclear(), noecho(), cbreak(), initscr(),
/ wrefresh()
/
-/ GLOBAL INPUTS: *stdscr, ill_sig()
+/ GLOBAL INPUTS: *stdscr
/
/ GLOBAL OUTPUTS: Windows
/
-/* $OpenBSD: phantglobs.h,v 1.7 2016/01/06 14:28:09 mestre Exp $ */
+/* $OpenBSD: phantglobs.h,v 1.8 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: phantglobs.h,v 1.3 1995/04/24 12:24:39 cgd Exp $ */
/*
int getanswer(char *, bool);
void getstring(char *, int);
void hitmonster(double);
-void ill_sig(int);
double infloat(void);
void initialstate(void);
void initplayer(struct player *);
-/* $OpenBSD: extern.h,v 1.24 2024/05/20 01:05:17 jsg Exp $ */
+/* $OpenBSD: extern.h,v 1.25 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: extern.h,v 1.2 1995/04/11 02:44:49 cgd Exp $ */
/*
* @(#)extern.h 8.2 (Berkeley) 4/4/94
*/
-void blkfree(char **);
-char **copyblk(char **);
void cwd(char *);
void delete(const char *);
void dologout(int);
-/* $OpenBSD: resolve.h,v 1.107 2024/01/16 19:07:31 deraadt Exp $ */
+/* $OpenBSD: resolve.h,v 1.108 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
void _dl_cache_grpsym_list_setup(elf_object_t *_object);
void _dl_link_grpref(elf_object_t *load_group, elf_object_t *load_object);
void _dl_link_dlopen(elf_object_t *dep);
-void _dl_unlink_dlopen(elf_object_t *dep);
void _dl_notify_unload_shlib(elf_object_t *object);
void _dl_unload_shlib(elf_object_t *object);
void _dl_unload_dlopen(void);
char *_dl_find_shlib(struct sod *sodp, char **searchpath, int nohints);
void _dl_load_list_free(struct load_list *load_list);
-void _dl_find_immutables(int type, elf_object_t *object, Elf_Ehdr *);
void _dl_push_range_size(struct range_vector *v, vaddr_t start, vsize_t len);
void _dl_apply_immutable(elf_object_t *object);
-/* $OpenBSD: mail.local.h,v 1.7 2020/02/09 14:59:21 millert Exp $ */
+/* $OpenBSD: mail.local.h,v 1.8 2024/05/21 05:00:47 jsg Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* SUCH DAMAGE.
*/
-void baditem(char *);
int deliver(int, char *, int);
void merr(int, const char *, ...);
void mwarn(const char *, ...);
-/* $OpenBSD: rquotad.c,v 1.25 2023/03/08 04:43:05 guenther Exp $ */
+/* $OpenBSD: rquotad.c,v 1.26 2024/05/21 05:00:47 jsg Exp $ */
/*
* by Manuel Bouyer (bouyer@ensta.fr). Public domain.
void rquota_service(struct svc_req *request, SVCXPRT *transp);
void sendquota(struct svc_req *request, SVCXPRT *transp);
-void printerr_reply(SVCXPRT *transp);
void initfs(void);
int getfsquota(long id, char *path, struct dqblk *dqblk);
int hasquota(struct fstab *fs, char **qfnamep);
-/* $OpenBSD: cmd.h,v 1.27 2022/07/10 20:34:31 krw Exp $ */
+/* $OpenBSD: cmd.h,v 1.28 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
#define CMD_DIRTY 0x0004
int Xreinit(const char *, struct mbr *);
-int Xdisk(const char *, struct mbr *);
int Xmanual(const char *, struct mbr *);
int Xedit(const char *, struct mbr *);
int Xsetpid(const char *, struct mbr *);
-/* $OpenBSD: gpt.c,v 1.93 2023/06/20 11:52:08 krw Exp $ */
+/* $OpenBSD: gpt.c,v 1.94 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 2015 Markus Muller <mmu@grummel.net>
* Copyright (c) 2015 Kenneth R Westerback <krw@openbsd.org>
struct gpt_partition gp[NGPTPARTITIONS];
const struct gpt_partition * const *sort_gpt(void);
-int lba_start_cmp(const void *e1, const void *e2);
int lba_free(uint64_t *, uint64_t *);
int add_partition(const uint8_t *, const char *, uint64_t);
int find_partition(const uint8_t *);
-/* $OpenBSD: fsdb.h,v 1.11 2014/08/10 02:38:24 guenther Exp $ */
+/* $OpenBSD: fsdb.h,v 1.12 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: fsdb.h,v 1.4 1996/09/28 19:30:36 christos Exp $ */
/*-
extern int bread(int fd, char *buf, daddr_t blk, long size);
extern void bwrite(int fd, char *buf, daddr_t blk, long size);
-extern void rwerror(char *mesg, daddr_t blk);
extern int reply(char *question);
struct cmdtable {
-/* $OpenBSD: control.c,v 1.38 2024/01/24 10:09:07 tobhe Exp $ */
+/* $OpenBSD: control.c,v 1.39 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
*control_connbyfd(int);
void control_close(int, struct control_sock *);
void control_dispatch_imsg(int, short, void *);
-void control_dispatch_parent(int, short, void *);
void control_imsg_forward(struct imsg *);
void control_imsg_forward_peerid(struct imsg *);
void control_run(struct privsep *, struct privsep_proc *, void *);
-/* $OpenBSD: app.h,v 1.7 2004/04/15 18:39:25 deraadt Exp $ */
+/* $OpenBSD: app.h,v 1.8 2024/05/21 05:00:47 jsg Exp $ */
/* $EOM: app.h,v 1.4 1999/04/02 00:58:16 niklas Exp $ */
/*
extern int app_socket;
extern int app_none;
-extern void app_conf_init_hook(void);
extern void app_handler(void);
extern void app_init(void);
-/* $OpenBSD: if.h,v 1.7 2004/04/15 18:39:25 deraadt Exp $ */
+/* $OpenBSD: if.h,v 1.8 2024/05/21 05:00:47 jsg Exp $ */
/* $EOM: if.h,v 1.2 1998/07/07 23:35:58 niklas Exp $ */
/*
#include <sys/types.h>
struct ifreq;
-struct ifconf;
extern int if_map(int (*) (char *, struct sockaddr *, void *), void *);
-extern int siocgifconf(struct ifconf *);
#endif /* _IF_H_ */
-/* $OpenBSD: ike_phase_1.h,v 1.4 2004/04/15 18:39:25 deraadt Exp $ */
+/* $OpenBSD: ike_phase_1.h,v 1.5 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
extern int ike_phase_1_responder_send_ID_AUTH(struct message *);
extern int ike_phase_1_send_AUTH(struct message *);
extern int ike_phase_1_send_ID(struct message *);
-extern int ike_phase_1_send_ID_AUTH(struct message *);
extern int ike_phase_1_send_KE_NONCE(struct message *, size_t);
#endif /* _IKE_PHASE_1_H_ */
-/* $OpenBSD: message.h,v 1.29 2018/01/15 09:54:48 mpi Exp $ */
+/* $OpenBSD: message.h,v 1.30 2024/05/21 05:00:47 jsg Exp $ */
/* $EOM: message.h,v 1.51 2000/10/10 12:36:39 provos Exp $ */
/*
TAILQ_HEAD(msg_head, message);
-/* The number of different ISAKMP payloads supported. */
-extern u_int8_t payload_index_max;
-
extern int message_add_payload(struct message *, u_int8_t, u_int8_t *,
size_t, int);
extern int message_add_sa_payload(struct message *);
extern void message_drop(struct message *, int, struct proto *, int, int);
extern void message_dump_raw(char *, struct message *, int);
extern void message_free(struct message *);
-extern void message_init(void);
extern int message_negotiate_sa(struct message *,
int (*)(struct exchange *, struct sa *, struct sa *));
extern int message_recv(struct message *);
-/* $OpenBSD: policy.h,v 1.17 2007/08/05 09:43:09 tom Exp $ */
+/* $OpenBSD: policy.h,v 1.18 2024/05/21 05:00:47 jsg Exp $ */
/* $EOM: policy.h,v 1.12 2000/09/28 12:53:27 niklas Exp $ */
/*
extern int ignore_policy;
extern int policy_asserts_num;
-extern int x509_policy_asserts_num;
-extern int x509_policy_asserts_num_alloc;
extern char **policy_asserts;
-extern char **x509_policy_asserts;
extern struct exchange *policy_exchange;
extern struct sa *policy_sa;
extern struct sa *policy_isakmp_sa;
-/* $OpenBSD: mountd.c,v 1.91 2023/03/02 16:58:43 millert Exp $ */
+/* $OpenBSD: mountd.c,v 1.92 2024/05/21 05:00:47 jsg Exp $ */
/* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */
/*
void new_exportlist(int signo);
void get_exportlist(void);
int get_host(char *, struct grouplist *, struct grouplist *);
-int get_num(char *);
struct hostlist *get_ht(void);
int get_line(void);
void get_mountlist(void);
-/* $OpenBSD: pflogd.h,v 1.7 2017/09/09 13:02:52 brynet Exp $ */
+/* $OpenBSD: pflogd.h,v 1.8 2024/05/21 05:00:47 jsg Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
int priv_init_pcap(int);
int priv_set_snaplen(int snaplen);
int priv_open_log(void);
-int priv_move_log(void);
-int priv_pcap_stats(struct pcap_stat *);
int init_pcap(void);
void set_pcap_filter(void);
-/* $OpenBSD: frontend.c,v 1.80 2023/12/14 09:59:27 claudio Exp $ */
+/* $OpenBSD: frontend.c,v 1.81 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
struct sockaddr **);
void get_rtaddrs(int, struct sockaddr *,
struct sockaddr **);
-void rtmget_default(void);
struct pending_query *find_pending_query(uint64_t);
void parse_trust_anchor(struct trust_anchor_head *, int);
void send_trust_anchors(struct trust_anchor_head *);
-/* $OpenBSD: resolver.c,v 1.165 2024/05/10 15:02:26 florian Exp $ */
+/* $OpenBSD: resolver.c,v 1.166 2024/05/21 05:00:48 jsg Exp $ */
/*
void show_autoconf(pid_t);
void show_mem(pid_t);
void send_resolver_info(struct uw_resolver *, pid_t);
-void send_detailed_resolver_info(struct uw_resolver *,
- pid_t);
void trust_anchor_resolve(void);
void trust_anchor_timo(int, short, void *);
void trust_anchor_resolve_done(struct uw_resolver *, void *,
-/* $OpenBSD: diff.h,v 1.22 2010/07/28 21:19:30 nicm Exp $ */
+/* $OpenBSD: diff.h,v 1.23 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
extern int diff_format;
extern int diff_context;
extern int diff3_conflicts;
-extern int diff_aflag;
-extern int diff_bflag;
-extern int diff_dflag;
-extern int diff_iflag;
-extern int diff_pflag;
-extern int diff_wflag;
-extern char *diff_file;
extern char diffargs[512]; /* XXX */
extern BUF *diffbuf;
extern RCSNUM *diff_rev1;
-/* $OpenBSD: history.c,v 1.45 2017/07/20 13:39:11 okan Exp $ */
+/* $OpenBSD: history.c,v 1.46 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2007 Joris Vink <joris@openbsd.org>
*
#include "cvs.h"
#include "remote.h"
-void cvs_history_local(struct cvs_file *);
-
static void history_compress(char *, const char *);
struct cvs_cmd cvs_cmd_history = {
-/* $OpenBSD: log.h,v 1.23 2008/06/10 01:00:34 joris Exp $ */
+/* $OpenBSD: log.h,v 1.24 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
void cvs_log(u_int, const char *, ...) __attribute__((format(printf, 2, 3)));
void cvs_vlog(u_int, const char *, va_list);
int cvs_printf(const char *, ...) __attribute__((format(printf, 1, 2)));
-int cvs_vprintf(const char *, va_list);
void fatal(const char *, ...) __dead __attribute__((format(printf, 1,2)));
#endif /* LOG_H */
-/* $OpenBSD: rcs.h,v 1.103 2017/08/28 19:33:20 otto Exp $ */
+/* $OpenBSD: rcs.h,v 1.104 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
int rcs_branch_set(RCSFILE *, const RCSNUM *);
int rcs_access_add(RCSFILE *, const char *);
int rcs_access_remove(RCSFILE *, const char *);
-int rcs_access_check(RCSFILE *, const char *);
struct rcs_delta *rcs_findrev(RCSFILE *, RCSNUM *);
int rcs_sym_add(RCSFILE *, const char *, RCSNUM *);
int rcs_sym_check(const char *);
const char *rcs_comment_lookup(const char *);
const char *rcs_comment_get(RCSFILE *);
void rcs_comment_set(RCSFILE *, const char *);
-BUF *rcs_kwexp_buf(BUF *, RCSFILE *, RCSNUM *);
void rcs_kwexp_set(RCSFILE *, int);
int rcs_kwexp_get(RCSFILE *);
int rcs_rev_add(RCSFILE *, RCSNUM *, const char *, time_t,
int rcs_state_set(RCSFILE *, RCSNUM *, const char *);
const char *rcs_state_get(RCSFILE *, RCSNUM *);
int rcs_state_check(const char *);
-RCSNUM *rcs_tag_resolve(RCSFILE *, const char *);
void rcs_write(RCSFILE *);
int rcs_rev_write_stmp(RCSFILE *, RCSNUM *, char *, int);
void rcs_rev_write_fd(RCSFILE *, RCSNUM *, int, int);
void rcs_delta_stats(struct rcs_delta *, int *, int *);
int rcs_kflag_get(const char *);
-void rcs_kflag_usage(void);
-int rcs_kw_expand(RCSFILE *, u_char *, size_t, size_t *);
RCSNUM *rcsnum_alloc(void);
RCSNUM *rcsnum_parse(const char *);
-/* $OpenBSD: remote.h,v 1.38 2017/08/28 19:33:20 otto Exp $ */
+/* $OpenBSD: remote.h,v 1.39 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
#define CVS_SERVER_QUESTIONABLE '?'
void cvs_client_connect_to_server(void);
-void cvs_client_disconnect(void);
void cvs_client_send_logmsg(char *);
void cvs_client_send_request(char *, ...)
__attribute__((format(printf, 1, 2)));
-/* $OpenBSD: diff.h,v 1.34 2020/11/01 18:16:08 jcs Exp $ */
+/* $OpenBSD: diff.h,v 1.35 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 1991, 1993
char *splice(char *, char *);
int diffreg(char *, char *, int);
-int easprintf(char **, const char *, ...);
-void *emalloc(size_t);
-void *erealloc(void *, size_t);
void diffdir(char *, char *, int);
void print_only(const char *, size_t, const char *);
void print_status(int, char *, char *, char *);
extern int fsflg;
extern int sflg;
extern int signo;
-extern int error;
extern struct fileargs fileargs;
extern char *__progname;
-/* $OpenBSD: extern.h,v 1.53 2022/09/15 12:47:10 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.54 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */
/*
void alarmtimer(int);
int another(int *, char ***, const char *);
int auto_fetch(int, char **, char *);
-void blkfree(char **);
void cdup(int, char **);
void cmdabort(int);
void cmdscanner(int);
-/* $OpenBSD: stringlist.h,v 1.8 2019/05/16 12:44:18 florian Exp $ */
+/* $OpenBSD: stringlist.h,v 1.9 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: stringlist.h,v 1.2 1997/01/17 06:11:36 lukem Exp $ */
/*
StringList *sl_init(void);
void sl_add(StringList *, char *);
void sl_free(StringList *, int);
-char *sl_find(StringList *, char *);
__END_DECLS
#endif /* _STRINGLIST_H */
-/* $OpenBSD: extern.h,v 1.55 2017/06/15 13:48:42 bcallah Exp $ */
+/* $OpenBSD: extern.h,v 1.56 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: extern.h,v 1.3 1996/01/13 23:25:24 pk Exp $ */
/*-
/* misc.c */
extern void chrsave(int);
-extern char *compute_prevep(void);
extern void getdiv(int);
extern ptrdiff_t indx(const char *, const char *);
extern void initspaces(void);
-/* $OpenBSD: extern.h,v 1.29 2018/09/16 02:38:57 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.30 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: extern.h,v 1.7 1997/07/09 05:22:00 mikel Exp $ */
/*-
* SUCH DAMAGE.
*
* @(#)extern.h 8.2 (Berkeley) 4/20/95
- * $OpenBSD: extern.h,v 1.29 2018/09/16 02:38:57 millert Exp $
+ * $OpenBSD: extern.h,v 1.30 2024/05/21 05:00:48 jsg Exp $
*/
struct name;
int ignore1(char **, struct ignoretab *, char *);
int ignoresig(int, struct sigaction *, sigset_t *);
int igshow(struct ignoretab *, char *);
-void intr(int);
int inc(void *);
int incfile(void);
int isdate(char *);
pid_t start_command(char *cmd, sigset_t *nset, int infd, int outfd, ...);
pid_t start_commandv(char *, sigset_t *, int, int, __va_list);
int statusput(struct message *, FILE *, char *);
-void stop(int);
int stouch(void *);
int swrite(void *);
void tinit(void);
int type1(int *, char *, int, int);
int undeletecmd(void *);
void unmark(int);
-char **unpack(struct name *, struct name *);
int unread(void *);
void unregister_file(FILE *);
int unset(void *);
#ifndef ERROR_H
#define ERROR_H
-/* $OpenBSD: error.h,v 1.13 2015/09/27 16:58:16 guenther Exp $ */
+/* $OpenBSD: error.h,v 1.14 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
extern void Parse_Error(int, const char *, ...)
__attribute__((__format__ (printf, 2, 3)));
extern int fatal_errors;
-/* Needed for fatal errors: we have to know whether we must abort other jobs
- * or not */
-extern bool supervise_jobs;
#endif
#ifndef INIT_H
#define INIT_H
-/* $OpenBSD: init.h,v 1.3 2010/07/19 19:46:44 espie Exp $ */
+/* $OpenBSD: init.h,v 1.4 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
* modules.
*/
extern void Init(void);
-extern void End(void);
#endif
#ifndef _JOB_H_
#define _JOB_H_
-/* $OpenBSD: job.h,v 1.38 2020/06/03 12:41:39 espie Exp $ */
+/* $OpenBSD: job.h,v 1.39 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: job.h,v 1.5 1996/11/06 17:59:10 christos Exp $ */
/*
extern void determine_expensive_job(Job *);
extern Job *runningJobs, *errorJobs, *availableJobs;
extern void debug_job_printf(const char *, ...);
-extern void handle_one_job(Job *);
extern int check_dying_signal(void);
extern const char *basedirectory;
-/* $OpenBSD: targ.c,v 1.86 2023/09/04 11:35:11 espie Exp $ */
+/* $OpenBSD: targ.c,v 1.87 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */
/*
*
* Targ_Precious Return true if the target is precious and
* should not be removed if we are interrupted.
- *
- * Debugging:
- * Targ_PrintGraph Print out the entire graphm all variables
- * and statistics for the directory cache. Should
- * print something for suffixes, too, but...
*/
#include <limits.h>
#ifndef TARG_H
#define TARG_H
-/* $OpenBSD: targ.h,v 1.15 2020/01/13 15:41:53 espie Exp $ */
+/* $OpenBSD: targ.h,v 1.16 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
extern bool Targ_Precious(GNode *);
extern void Targ_PrintCmd(void *);
extern void Targ_PrintType(int);
-extern void Targ_PrintGraph(int);
extern bool node_is_real(GNode *);
extern GNode *begin_node, *end_node, *interrupt_node, *DEFAULT;
#ifndef VAR_H
#define VAR_H
-/* $OpenBSD: var.h,v 1.20 2019/12/21 15:31:54 espie Exp $ */
+/* $OpenBSD: var.h,v 1.21 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
*
/* SymTable_Init(t);
* Inits the local symtable in a GNode. */
extern void SymTable_Init(SymTable *);
-/* SymTable_destroy(t);
- * Destroys the local symtable in a GNode. */
-extern void SymTable_Destroy(SymTable *);
/* Several ways to parse a variable specification. */
/* value = Var_Parse(varspec, ctxt, undef_is_bad, &length, &freeit);
-/* $OpenBSD: libmdoc.h,v 1.88 2018/12/31 04:55:42 schwarze Exp $ */
+/* $OpenBSD: libmdoc.h,v 1.89 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
struct roff_node *mdoc_endbody_alloc(struct roff_man *, int, int,
enum roff_tok, struct roff_node *);
void mdoc_state(struct roff_man *, struct roff_node *);
-const char *mdoc_a2arch(const char *);
const char *mdoc_a2att(const char *);
enum roff_sec mdoc_a2sec(const char *);
const char *mdoc_a2st(const char *);
-/* $OpenBSD: tbl_int.h,v 1.2 2018/12/14 06:33:03 schwarze Exp $ */
+/* $OpenBSD: tbl_int.h,v 1.3 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011,2013,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
void tbl_layout(struct tbl_node *, int, const char *, int);
void tbl_data(struct tbl_node *, int, const char *, int);
void tbl_cdata(struct tbl_node *, int, const char *, int);
-void tbl_reset(struct tbl_node *);
-/* $OpenBSD: cmode.c,v 1.22 2023/04/21 13:39:37 op Exp $ */
+/* $OpenBSD: cmode.c,v 1.23 2024/05/21 05:00:48 jsg Exp $ */
/*
* This file is in the public domain.
*
static int isnonblank(const struct line *, int);
void cmode_init(void);
-int cc_comment(int, int);
/* Keymaps */
-/* $OpenBSD: def.h,v 1.180 2023/04/21 13:39:37 op Exp $ */
+/* $OpenBSD: def.h,v 1.181 2024/05/21 05:00:48 jsg Exp $ */
/* This file is in the public domain. */
extern int startrow;
extern int epresf;
extern int sgarbf;
-extern int mode;
extern int nrow;
extern int ncol;
extern int ttrow;
-/* $OpenBSD: nm.c,v 1.55 2022/12/04 23:50:49 cheloha Exp $ */
+/* $OpenBSD: nm.c,v 1.56 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: nm.c,v 1.7 1996/01/14 23:04:03 pk Exp $ */
/*
int fname(const void *, const void *);
int rname(const void *, const void *);
int value(const void *, const void *);
-char *otherstring(struct xnlist *);
int (*sfunc)(const void *, const void *) = fname;
char typeletter(struct xnlist *);
int mmbr_name(struct ar_hdr *, char **, int, int *, FILE *);
-/* $OpenBSD: apps.h,v 1.36 2024/05/18 08:48:31 jsg Exp $ */
+/* $OpenBSD: apps.h,v 1.37 2024/05/21 05:00:48 jsg Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int ui_write(UI *ui, UI_STRING *uis);
int ui_close(UI *ui);
-int should_retry(int i);
int str2fmt(char *s);
void program_name(char *in, char *out, int size);
#ifdef HEADER_X509_H
-/* $OpenBSD: rcs.h,v 1.18 2017/08/29 16:47:33 otto Exp $ */
+/* $OpenBSD: rcs.h,v 1.19 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
const RCSNUM *rcs_branch_get(RCSFILE *);
int rcs_access_add(RCSFILE *, const char *);
int rcs_access_remove(RCSFILE *, const char *);
-int rcs_access_check(RCSFILE *, const char *);
struct rcs_delta *rcs_findrev(RCSFILE *, RCSNUM *);
int rcs_sym_add(RCSFILE *, const char *, RCSNUM *);
int rcs_sym_remove(RCSFILE *, const char *);
void rcs_delta_stats(struct rcs_delta *, int *, int *);
int rcs_kflag_get(const char *);
-void rcs_kflag_usage(void);
-int rcs_kw_expand(RCSFILE *, u_char *, size_t, size_t *);
RCSNUM *rcsnum_alloc(void);
RCSNUM *rcsnum_parse(const char *);
-/* $OpenBSD: defs.h,v 1.39 2021/06/22 20:19:28 jmc Exp $ */
+/* $OpenBSD: defs.h,v 1.40 2024/05/21 05:00:48 jsg Exp $ */
#ifndef __DEFS_H__
#define __DEFS_H__
int init(int, char **, char **);
void finish(void);
void lostconn(void);
-void coredump(void);
void sighandler(int);
int sendcmd(char, const char *, ...) __attribute__((__format__ (printf, 2, 3)));
int remline(u_char *, int, int);
char *getgroupname(gid_t, char *, opt_t);
int response(void);
char *exptilde(char *, char *, size_t);
-int becomeuser(void);
-int becomeroot(void);
int setfiletime(char *, time_t, time_t);
char *getversion(void);
void runcommand(char *);
-/* $OpenBSD: extern.h,v 1.48 2024/02/27 11:28:30 claudio Exp $ */
+/* $OpenBSD: extern.h,v 1.49 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
void rsync_log(int, const char *, ...)
__attribute__((format(printf, 2, 3)));
-void rsync_warnx1(const char *, ...)
- __attribute__((format(printf, 1, 2)));
void rsync_warn(int, const char *, ...)
__attribute__((format(printf, 2, 3)));
void rsync_warnx(const char *, ...)
int flist_del(struct sess *, int, const struct flist *, size_t);
int flist_gen(struct sess *, size_t, char **, struct flist **, size_t *);
-int flist_gen_local(struct sess *, const char *, struct flist **, size_t *);
void flist_free(struct flist *, size_t);
int flist_recv(struct sess *, int, struct flist **, size_t *);
int flist_send(struct sess *, int, int, const struct flist *, size_t);
-/* $OpenBSD: receiver.c,v 1.32 2023/11/27 11:30:49 claudio Exp $ */
+/* $OpenBSD: receiver.c,v 1.33 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
if (sess->opts->del &&
sess->opts->recursive &&
!flist_gen_dels(sess, root, &dfl, &dflsz, fl, flsz)) {
- ERRX1("flist_gen_local");
+ ERRX1("rsync_receiver");
goto out;
}
-/* $OpenBSD: systat.h,v 1.26 2024/05/18 09:02:34 jsg Exp $ */
+/* $OpenBSD: systat.h,v 1.27 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: systat.h,v 1.2 1995/01/20 08:52:14 jtc Exp $ */
/*-
extern char hostname[];
extern double avenrun[3];
extern kvm_t *kd;
-extern long ntext;
extern int *dk_select;
extern int dk_ndrive;
extern int hz;
extern double naptime;
-extern size_t nhosts;
-extern size_t nports;
extern int protos;
extern int verbose;
extern int nflag;
-/* $OpenBSD: externs.h,v 1.31 2017/07/07 09:14:26 fcambus Exp $ */
+/* $OpenBSD: externs.h,v 1.32 2024/05/21 05:00:48 jsg Exp $ */
/* $KTH: externs.h,v 1.16 1997/11/29 02:28:35 joda Exp $ */
/*
resettermname,
linemode,
kludgelinemode,
- want_status_response,
- debug; /* Debug level */
+ want_status_response;
extern cc_t escape; /* Escape to command mode */
extern cc_t rlogin; /* Rlogin mode escape character */
*prompt; /* Prompt for command. */
extern char
- doopt[],
- dont[],
- will[],
- wont[],
will_wont_resp[],
do_dont_resp[],
options[], /* All the little options */
-/* $OpenBSD: reader.c,v 1.34 2017/05/25 20:11:03 tedu Exp $ */
+/* $OpenBSD: reader.c,v 1.35 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: reader.c,v 1.5 1996/03/19 03:21:43 jtc Exp $ */
/*
void declare_tokens(int);
void declare_types(void);
void declare_start(void);
-void handle_expect(void);
void read_declarations(void);
void initialize_grammar(void);
void expand_items(void);
FILE *file(char *);
struct utmp_list *log_in(struct utmp_list *, struct utmp *);
struct utmp_list *log_out(struct utmp_list *, struct utmp *);
-int on_console(struct utmp_list *);
void show(char *, time_t);
void show_today(struct user_list *, struct utmp_list *,
time_t);
-/* $Id: extern.h,v 1.20 2020/09/14 16:00:17 florian Exp $ */
+/* $Id: extern.h,v 1.21 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Base64 and URL encoding.
* Returns a buffer or NULL on allocation error.
*/
-size_t base64buf(char *, const char *, size_t);
size_t base64len(size_t);
char *base64buf_url(const char *, size_t);
-/* $OpenBSD: btrace.c,v 1.90 2024/03/30 07:41:45 mpi Exp $ */
+/* $OpenBSD: btrace.c,v 1.91 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2019 - 2023 Martin Pieuchot <mpi@openbsd.org>
* Language builtins & functions.
*/
uint64_t builtin_nsecs(struct dt_evt *);
-const char *builtin_kstack(struct dt_evt *);
const char *builtin_arg(struct dt_evt *, enum bt_argtype);
struct bt_arg *fn_str(struct bt_arg *, struct dt_evt *, char *);
int stmt_eval(struct bt_stmt *, struct dt_evt *);
-/* $OpenBSD: btrace.h,v 1.14 2024/02/27 12:50:33 mpi Exp $ */
+/* $OpenBSD: btrace.h,v 1.15 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2019 - 2020 Martin Pieuchot <mpi@openbsd.org>
/* ksyms.c */
struct syms;
struct syms *kelf_open(const char *);
-void kelf_offset(struct syms *, unsigned long);
void kelf_close(struct syms *);
int kelf_snprintsym(struct syms *, char *, size_t,
unsigned long, unsigned long);
-/* $OpenBSD: cmd.h,v 1.8 2019/08/11 17:08:33 deraadt Exp $ */
+/* $OpenBSD: cmd.h,v 1.9 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
int Xshow(cmd_t *);
int Xexit(cmd_t *);
int Xquit(cmd_t *);
-int Xtimezone(cmd_t *);
int Xnkmempg(cmd_t *);
#endif /* _CMD_H */
-/* $OpenBSD: sem.h,v 1.13 2008/03/24 21:35:03 maja Exp $ */
+/* $OpenBSD: sem.h,v 1.14 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: sem.h,v 1.6 1996/11/11 23:40:10 gwr Exp $ */
/*
void adddev(const char *, const char *, struct nvlist *, int, int);
void enabledev(const char *, const char *);
void addpseudo(const char *name, int number, int disable);
-const char *ref(const char *name);
const char *starref(const char *name);
const char *wildref(const char *name);
-/* $OpenBSD: dhcpd.h,v 1.68 2020/11/10 16:42:17 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.69 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998, 1999
extern char *path_dhcpd_db;
int main(int, char *[]);
-void cleanup(void);
void lease_pinged(struct iaddr, u_int8_t *, int);
void lease_ping_timeout(void *);
void periodic_scan(void *);
/* conflex.c */
extern int lexline, lexchar;
extern char *token_line, *tlname;
-extern char comments[4096];
-extern int comment_index;
extern int eol_token;
void new_parse(char *);
-/* $OpenBSD: dhcpd.h,v 1.23 2017/04/05 14:40:56 reyk Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.24 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
/* External definitions... */
-/* errwarn.c */
-void error(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-int warning(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-int note(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-int debug(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
-
/* bpf.c */
int if_register_bpf(struct interface_info *);
void if_register_send(struct interface_info *);
-/* $OpenBSD: dhcpd.h,v 1.1 2017/03/17 14:45:16 rzalamena Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.2 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2017 Rafael Zalamena <rzalamena@openbsd.org>
struct interface_info *iflist_getbyname(const char *);
struct interface_info *iflist_getbyindex(unsigned int);
struct interface_info *iflist_getbyaddr6(struct in6_addr *);
-int if_hasaddress(struct interface_info *);
struct interface_info *register_interface(const char *,
void (*)(struct protocol *));
void dispatch(void);
-/* $OpenBSD: ikectl.c,v 1.30 2022/12/04 11:54:31 tobhe Exp $ */
+/* $OpenBSD: ikectl.c,v 1.31 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2007-2013 Reyk Floeter <reyk@openbsd.org>
};
struct imsgname *monitor_lookup(uint8_t);
-void monitor_id(struct imsg *);
int monitor(struct imsg *);
int show_string(struct imsg *);
-/* $OpenBSD: iscsid.h,v 1.18 2022/12/28 21:30:16 jmc Exp $ */
+/* $OpenBSD: iscsid.h,v 1.19 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
void session_task_issue(struct session *, struct task *);
void session_logout_issue(struct session *, struct task *);
void session_schedule(struct session *);
-void session_task_login(struct connection *);
void session_fsm(struct session *, enum s_event, struct connection *,
unsigned int);
-/* $OpenBSD: ldapd.h,v 1.36 2021/12/15 04:00:15 deraadt Exp $ */
+/* $OpenBSD: ldapd.h,v 1.37 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
extern struct ldapd_stats stats;
extern struct ldapd_config *conf;
-void imsg_event_add(struct imsgev *iev);
-int imsg_compose_event(struct imsgev *iev, u_int16_t type,
- u_int32_t peerid, pid_t pid, int fd, void *data,
- u_int16_t datalen);
-int imsg_event_handle(struct imsgev *iev, short event);
-
/* conn.c */
extern struct conn_list conn_list;
struct conn *conn_by_fd(int fd);
int namespace_reopen_indx(struct namespace *ns);
int namespace_set_data_fd(struct namespace *ns, int fd);
int namespace_set_indx_fd(struct namespace *ns, int fd);
-struct namespace *namespace_init(const char *suffix, const char *dir);
void namespace_close(struct namespace *ns);
void namespace_remove(struct namespace *ns);
struct ber_element *namespace_get(struct namespace *ns, char *dn);
void control_init(struct control_sock *);
void control_listen(struct control_sock *);
void control_accept(int, short, void *);
-void control_dispatch_imsg(int, short, void *);
void control_cleanup(struct control_sock *);
int control_close_any(struct control_sock *);
char *inet_name(u_int32_t addr);
void ask(u_int32_t dst);
void ask2(u_int32_t dst);
-u_int32_t host_addr(char *name);
void usage(void);
char *
-/* $OpenBSD: ntpd.c,v 1.132 2021/07/16 14:36:09 mestre Exp $ */
+/* $OpenBSD: ntpd.c,v 1.133 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
int main(int, char *[]);
void check_child(void);
int dispatch_imsg(struct ntpd_conf *, int, char **);
-int dispatch_imsg_ctl(struct ntpd_conf *);
void reset_adjtime(void);
int ntpd_adjtime(double);
void ntpd_adjfreq(double, int);
-/* $OpenBSD: ntpd.h,v 1.153 2023/12/20 15:36:36 otto Exp $ */
+/* $OpenBSD: ntpd.h,v 1.154 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
/* server.c */
int setup_listeners(struct servent *, struct ntpd_conf *, u_int *);
-int ntp_reply(int, struct sockaddr *, struct ntp_msg *, int);
int server_dispatch(int, struct ntpd_conf *);
/* client.c */
void (*tail)(void);
};
-extern const struct output show_output, json_output;
+extern const struct output show_output;
#define EOL0(flag) ((flag & F_CTL_SSV) ? ';' : '\n')
-/* $OpenBSD: rad.c,v 1.30 2024/05/17 06:50:14 florian Exp $ */
+/* $OpenBSD: rad.c,v 1.31 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
int main_reload(void);
int main_sendboth(enum imsg_type, void *, uint16_t);
-void in6_prefixlen2mask(struct in6_addr *, int len);
-
struct rad_conf *main_conf;
static struct imsgev *iev_frontend;
static struct imsgev *iev_engine;
-/* $OpenBSD: radiusd_local.h,v 1.6 2023/09/08 05:56:22 yasuoka Exp $ */
+/* $OpenBSD: radiusd_local.h,v 1.7 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2013 Internet Initiative Japan Inc.
((_m)->fd >= 0 && \
((_m)->capabilities & RADIUSD_MODULE_CAP_RESDECO) != 0)
-extern struct radiusd_module mod_standard;
-extern struct radiusd_module mod_radius;
-
int parse_config(const char *, struct radiusd *);
void radiusd_conf_init(struct radiusd *);
void radiusd_module_unload(struct radiusd_module *);
void radiusd_access_request_answer(struct radius_query *);
-int radiusd_access_request_fixup(struct radius_query *);
void radiusd_access_request_aborted(struct radius_query *);
void radius_attr_hide(const char *, const char *, const u_char *,
u_char *, int);
-/* $OpenBSD: route6d.c,v 1.100 2020/12/29 19:48:27 benno Exp $ */
+/* $OpenBSD: route6d.c,v 1.101 2024/05/21 05:00:48 jsg Exp $ */
/* $KAME: route6d.c,v 1.111 2006/10/25 06:38:13 jinmei Exp $ */
/*
void ripsend(struct ifc *, struct sockaddr_in6 *, int);
int out_filter(struct riprt *, struct ifc *);
void init(void);
-void sockopt(struct ifc *);
void ifconfig(void);
void ifconfig1(const char *, const struct sockaddr *, struct ifc *, int);
void rtrecv(void);
-/* $OpenBSD: snmpd.h,v 1.119 2024/02/06 15:36:11 martijn Exp $ */
+/* $OpenBSD: snmpd.h,v 1.120 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
/* trap.c */
void trap_init(void);
-int trap_imsg(struct imsgev *, pid_t);
int trap_send(struct ber_oid *, struct ber_element *);
/* smi.c */
-/* $OpenBSD: snmpe.c,v 1.94 2024/01/16 13:33:13 claudio Exp $ */
+/* $OpenBSD: snmpe.c,v 1.95 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
int snmpe_parse(struct snmp_message *);
void snmpe_tryparse(int, struct snmp_message *);
int snmpe_parsevarbinds(struct snmp_message *);
-void snmpe_sig_handler(int sig, short, void *);
int snmpe_bind(struct address *);
void snmpe_recvmsg(int fd, short, void *);
void snmpe_readcb(int fd, short, void *);
-/* $OpenBSD: interface.h,v 1.87 2023/02/28 10:04:50 claudio Exp $ */
+/* $OpenBSD: interface.h,v 1.88 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Id: interface.h,v 1.87 2023/02/28 10:04:50 claudio Exp $ (LBL)
+ * @(#) $Id: interface.h,v 1.88 2024/05/21 05:00:48 jsg Exp $ (LBL)
*/
#ifndef tcpdump_interface_h
extern void safeputchar(int);
extern void printb(char *, unsigned short, char *);
-extern void wrapup(int);
-
extern __dead void error(const char *, ...)
__attribute__((__format__ (printf, 1, 2)));
extern void warning(const char *, ...)
extern void decnet_print(const u_char *, u_int, u_int);
extern void default_print(const u_char *, u_int);
extern void dvmrp_print(const u_char *, u_int);
-extern void egp_print(const u_char *, u_int, const u_char *);
extern void enc_if_print(u_char *, const struct pcap_pkthdr *, const u_char *);
extern void pflog_if_print(u_char *, const struct pcap_pkthdr *,
const u_char *);
-extern void pflog_old_if_print(u_char *, const struct pcap_pkthdr *,
- const u_char *);
extern void pfsync_if_print(u_char *, const struct pcap_pkthdr *,
const u_char *);
extern void pfsync_ip_print(const u_char *, u_int, const u_char *);
-/* $OpenBSD: print-gre.c,v 1.34 2020/08/17 07:09:25 dlg Exp $ */
+/* $OpenBSD: print-gre.c,v 1.35 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
void gre_print_pptp(const u_char *, u_int, uint16_t);
void gre_print_eoip(const u_char *, u_int, uint16_t);
void gre_print_erspan(uint16_t, const u_char *, u_int);
-void gre_print_erspan3(const u_char *, u_int);
void gre_sre_print(u_int16_t, u_int8_t, u_int8_t, const u_char *, u_int);
void gre_sre_ip_print(u_int8_t, u_int8_t, const u_char *, u_int);
void gre_sre_asn_print(u_int8_t, u_int8_t, const u_char *, u_int);
-/* $OpenBSD: tftpd.c,v 1.50 2022/10/09 23:04:57 kn Exp $ */
+/* $OpenBSD: tftpd.c,v 1.51 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@uq.edu.au>
void tftpd_recv(int, short, void *);
int retry(struct tftp_client *);
int tftp_flush(struct tftp_client *);
-void tftp_end(struct tftp_client *);
void tftp(struct tftp_client *, struct tftphdr *, size_t);
void tftp_open(struct tftp_client *, const char *);
-/* $OpenBSD: traceroute.h,v 1.7 2021/09/03 09:13:00 florian Exp $ */
+/* $OpenBSD: traceroute.h,v 1.8 2024/05/21 05:00:48 jsg Exp $ */
/* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */
/*
extern u_int16_t srcport;
-extern int verbose;
-extern int dump;
-
extern char *__progname;
-/* $OpenBSD: ldapclient.c,v 1.49 2023/07/18 13:06:33 claudio Exp $ */
+/* $OpenBSD: ldapclient.c,v 1.50 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
void client_dispatch_dns(int, short, void *);
void client_dispatch_parent(int, short, void *);
void client_shutdown(void);
-void client_connect(int, short, void *);
void client_configure(struct env *);
void client_periodic_update(int, short, void *);
int client_build_req(struct idm *, struct idm_req *, struct aldap_message *,
-/* $OpenBSD: ypldap.c,v 1.24 2023/03/31 03:38:26 jmatthew Exp $ */
+/* $OpenBSD: ypldap.c,v 1.25 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
void main_end_update(struct env *);
int main_create_user_groups(struct env *);
void purge_config(struct env *);
-void reconfigure(struct env *);
int pipe_main2client[2];
-/* $OpenBSD: hash.h,v 1.3 2013/12/05 14:20:53 jca Exp $ */
+/* $OpenBSD: hash.h,v 1.4 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 1995
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
#define LINSIZ 1024 * 10
-extern void store( struct group_entry ** , char *, char * );
extern void mstore( struct member_entry ** , char *, char *, char * );
extern void ngstore( struct group_entry **, char *, char * );
extern char *lookup( struct group_entry **, char * );
-/* $OpenBSD: yppush.h,v 1.9 2003/07/15 06:10:46 deraadt Exp $ */
+/* $OpenBSD: yppush.h,v 1.10 2024/05/21 05:00:48 jsg Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
__BEGIN_DECLS
bool_t xdr_yppush_status(XDR *, yppush_status *);
bool_t xdr_yppushresp_xfr(XDR *, yppushresp_xfr *);
-void * yppushproc_null_1(void *, CLIENT *);
void * yppushproc_null_1_svc(void *, struct svc_req *);
char * yppush_err_string(enum yppush_status y);
void yppush_xfrrespprog_1(struct svc_req *, SVCXPRT *);