1
0
mirror of synced 2024-06-10 14:39:58 +02:00
nginx-ipscrub/ipscrub/src/ngx_ipscrub_support.h

14 lines
406 B
C
Raw Normal View History

2018-03-31 02:47:17 +02:00
// Support library for ipscrub module.
// Copyright Mason Simon 2018
#ifndef _IPSCRUB_SUPPORT_H_INCLUDED_
#define _IPSCRUB_SUPPORT_H_INCLUDED_
#include <ngx_core.h>
ngx_int_t null_terminate(ngx_pool_t *pool, ngx_str_t input, u_char **hashed);
ngx_int_t concat(ngx_pool_t *pool, ngx_str_t prefix, ngx_str_t suffix, u_char **out);
2018-05-26 03:56:59 +02:00
ngx_int_t randlong(long *out);
2018-03-31 02:47:17 +02:00
#endif /* _IPSCRUB_SUPPORT_H_INCLUDED_ */