mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
remove prototypes with no matching function
leave prototypes with functions in OpenSMTPD-extras ok op@
This commit is contained in:
parent
e8add275dd
commit
91ef716ece
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: smtp.h,v 1.4 2021/03/05 12:37:32 eric Exp $ */
|
/* $OpenBSD: smtp.h,v 1.5 2024/06/02 23:26:39 jsg Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2018 Eric Faurot <eric@openbsd.org>
|
* Copyright (c) 2018 Eric Faurot <eric@openbsd.org>
|
||||||
@ -87,7 +87,6 @@ void smtp_quit(struct smtp_client *);
|
|||||||
void smtp_sendmail(struct smtp_client *, struct smtp_mail *);
|
void smtp_sendmail(struct smtp_client *, struct smtp_mail *);
|
||||||
|
|
||||||
/* callbacks */
|
/* callbacks */
|
||||||
void smtp_verify_server_cert(void *, struct smtp_client *, void *);
|
|
||||||
void smtp_require_tls(void *, struct smtp_client *);
|
void smtp_require_tls(void *, struct smtp_client *);
|
||||||
void smtp_ready(void *, struct smtp_client *);
|
void smtp_ready(void *, struct smtp_client *);
|
||||||
void smtp_failed(void *, struct smtp_client *, int, const char *);
|
void smtp_failed(void *, struct smtp_client *, int, const char *);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: smtpd.h,v 1.685 2024/05/28 07:10:30 op Exp $ */
|
/* $OpenBSD: smtpd.h,v 1.686 2024/06/02 23:26:39 jsg Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
|
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
|
||||||
@ -1261,11 +1261,6 @@ struct rule {
|
|||||||
/* aliases.c */
|
/* aliases.c */
|
||||||
int aliases_get(struct expand *, const char *);
|
int aliases_get(struct expand *, const char *);
|
||||||
int aliases_virtual_get(struct expand *, const struct mailaddr *);
|
int aliases_virtual_get(struct expand *, const struct mailaddr *);
|
||||||
int alias_parse(struct expandnode *, const char *);
|
|
||||||
|
|
||||||
|
|
||||||
/* auth.c */
|
|
||||||
struct auth_backend *auth_backend_lookup(enum auth_type);
|
|
||||||
|
|
||||||
|
|
||||||
/* bounce.c */
|
/* bounce.c */
|
||||||
@ -1402,7 +1397,6 @@ void lka_filter_end(uint64_t);
|
|||||||
void lka_filter_protocol(uint64_t, enum filter_phase, const char *);
|
void lka_filter_protocol(uint64_t, enum filter_phase, const char *);
|
||||||
void lka_filter_data_begin(uint64_t);
|
void lka_filter_data_begin(uint64_t);
|
||||||
void lka_filter_data_end(uint64_t);
|
void lka_filter_data_end(uint64_t);
|
||||||
int lka_filter_response(uint64_t, const char *, const char *);
|
|
||||||
|
|
||||||
|
|
||||||
/* lka_session.c */
|
/* lka_session.c */
|
||||||
@ -1609,12 +1603,6 @@ int smtp_session(struct listener *, int, const struct sockaddr_storage *,
|
|||||||
void smtp_session_imsg(struct mproc *, struct imsg *);
|
void smtp_session_imsg(struct mproc *, struct imsg *);
|
||||||
|
|
||||||
|
|
||||||
/* smtpf_session.c */
|
|
||||||
int smtpf_session(struct listener *, int, const struct sockaddr_storage *,
|
|
||||||
const char *);
|
|
||||||
void smtpf_session_imsg(struct mproc *, struct imsg *);
|
|
||||||
|
|
||||||
|
|
||||||
/* smtpd.c */
|
/* smtpd.c */
|
||||||
void imsg_dispatch(struct mproc *, struct imsg *);
|
void imsg_dispatch(struct mproc *, struct imsg *);
|
||||||
const char *proc_name(enum smtp_proc_type);
|
const char *proc_name(enum smtp_proc_type);
|
||||||
@ -1670,7 +1658,6 @@ void table_close_all(struct smtpd *);
|
|||||||
|
|
||||||
|
|
||||||
/* to.c */
|
/* to.c */
|
||||||
int email_to_mailaddr(struct mailaddr *, char *);
|
|
||||||
int text_to_netaddr(struct netaddr *, const char *);
|
int text_to_netaddr(struct netaddr *, const char *);
|
||||||
int text_to_mailaddr(struct mailaddr *, const char *);
|
int text_to_mailaddr(struct mailaddr *, const char *);
|
||||||
int text_to_relayhost(struct relayhost *, const char *);
|
int text_to_relayhost(struct relayhost *, const char *);
|
||||||
@ -1714,7 +1701,6 @@ int lowercase(char *, const char *, size_t);
|
|||||||
void xlowercase(char *, const char *, size_t);
|
void xlowercase(char *, const char *, size_t);
|
||||||
int uppercase(char *, const char *, size_t);
|
int uppercase(char *, const char *, size_t);
|
||||||
uint64_t generate_uid(void);
|
uint64_t generate_uid(void);
|
||||||
int availdesc(void);
|
|
||||||
int ckdir(const char *, mode_t, uid_t, gid_t, int);
|
int ckdir(const char *, mode_t, uid_t, gid_t, int);
|
||||||
int rmtree(char *, int);
|
int rmtree(char *, int);
|
||||||
int mvpurge(char *, char *);
|
int mvpurge(char *, char *);
|
||||||
@ -1730,8 +1716,6 @@ char *strip(char *);
|
|||||||
int io_xprint(struct io *, const char *);
|
int io_xprint(struct io *, const char *);
|
||||||
int io_xprintf(struct io *, const char *, ...)
|
int io_xprintf(struct io *, const char *, ...)
|
||||||
__attribute__((__format__ (printf, 2, 3)));
|
__attribute__((__format__ (printf, 2, 3)));
|
||||||
void log_envelope(const struct envelope *, const char *, const char *,
|
|
||||||
const char *);
|
|
||||||
int session_socket_error(int);
|
int session_socket_error(int);
|
||||||
int getmailname(char *, size_t);
|
int getmailname(char *, size_t);
|
||||||
int base64_encode(unsigned char const *, size_t, char *, size_t);
|
int base64_encode(unsigned char const *, size_t, char *, size_t);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: util.c,v 1.158 2024/05/13 06:48:26 jsg Exp $ */
|
/* $OpenBSD: util.c,v 1.159 2024/06/02 23:26:39 jsg Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000,2001 Markus Friedl. All rights reserved.
|
* Copyright (c) 2000,2001 Markus Friedl. All rights reserved.
|
||||||
@ -38,8 +38,6 @@
|
|||||||
#include "smtpd.h"
|
#include "smtpd.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
const char *log_in6addr(const struct in6_addr *);
|
|
||||||
const char *log_sockaddr(struct sockaddr *);
|
|
||||||
static int parse_mailname_file(char *, size_t);
|
static int parse_mailname_file(char *, size_t);
|
||||||
|
|
||||||
int tracing = 0;
|
int tracing = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user