9 #include <netinet/in.h>
13 extern void err_mem(
const int) __attribute__ ((noreturn));
14 extern
void err_conf(const
char *) __attribute__ ((noreturn)) __attribute__ ((nonnull (1)));
15 extern
void err_confn(const
char **,
void *) __attribute__ ((noreturn)) __attribute__ ((nonnull (1)));
17 extern
void remote_common_setup(
void);
31 extern
int netget(const
unsigned int terminate);
38 extern
void write_status_raw(const
char *str, const
size_t len) __attribute__ ((nonnull (1)));
47 extern
void write_status(const
char *str) __attribute__ ((nonnull (1)));
57 extern
void write_status_m(const
char **strs, const
unsigned int count) __attribute__ ((nonnull (1)));
65 extern size_t chunksize;
67 extern char *clientcertbuf;
68 extern struct in6_addr outgoingip;
69 extern struct in6_addr outgoingip6;
71 struct ips *
smtproute(
const char *,
const size_t,
unsigned int *);
list of IP addresses for a given host
Definition: qdns.h:28
char * rhost
Definition: qremote.c:39
char * partner_fqdn
Definition: qremote.c:41
struct ips * smtproute(const char *, const size_t, unsigned int *)
get static route for domain
Definition: smtproutes.c:206
unsigned short count
Definition: qdns.h:32
int netget(const unsigned int terminate)
get one line from the network
Definition: reply.c:36
string heloname
Definition: common_setup.c:16
size_t rhostlen
Definition: qremote.c:40
void err_confn(const char **, void *)
log a configuration error and exit
Definition: qremote.c:128
unsigned int smtpext
Definition: qremote.c:38
void write_status(const char *str)
write status message to qmail-rspawn
Definition: status.c:27
void write_status_raw(const char *str, const size_t len)
write raw status message to qmail-rspawn
Definition: status.c:16
definition of string record and headers of corresponding helper functions
void write_status_m(const char **strs, const unsigned int count)
write status messages to qmail-rspawn
Definition: status.c:34
void quitmsg(void)
send QUIT to the remote server and close the connection
Definition: qremote.c:50