-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_amqp.h.in
68 lines (54 loc) · 2.09 KB
/
mod_amqp.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* ProFTPD - mod_amqp
* Copyright (c) 2017-2022 TJ Saunders
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*
* As a special exemption, TJ Saunders and other respective copyright holders
* give permission to link this program with OpenSSL, and distribute the
* resulting executable, without including the source code for OpenSSL in the
* source distribution.
*/
#ifndef MOD_AMQP_H
#define MOD_AMQP_H
#include "conf.h"
#include "privs.h"
#include <signal.h>
#if HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#define MOD_AMQP_VERSION "mod_amqp/0.1"
/* Make sure the version of proftpd is as necessary. */
#if PROFTPD_VERSION_NUMBER < 0x0001030701
# error "ProFTPD 1.3.7rc1 or later required"
#endif
/* Define if you have the <amqp_ssl_socket.h> header. */
#undef HAVE_AMQP_SSL_SOCKET_H
/* Define if you have librabbitmq AMQP_DELIVERY_PERSISTENT defined. */
#undef HAVE_RABBITMQ_DELIVERY_MODE
/* Define if you have the amqp_ssl_socket_new function. */
#undef HAVE_AMQP_SSL_SOCKET_NEW
/* Define if you have the amqp_ssl_socket_set_verify_hostname function. */
#undef HAVE_AMQP_SSL_SOCKET_SET_VERIFY_HOSTNAME
/* Define if you have the amqp_ssl_socket_set_verify_peer function. */
#undef HAVE_AMQP_SSL_SOCKET_SET_VERIFY_PEER
/* Define if you have the <uuid/uuid.h> header. */
#undef HAVE_UUID_UUID_H
/* Miscellaneous */
extern int amqp_logfd;
extern module amqp_module;
extern pool *amqp_pool;
extern unsigned long amqp_opts;
#endif /* MOD_AMQP_H */