/
usr
/
include
/
proftpd
/
/usr/include/proftpd
mkdir
upload
Name
Size
Mode
Actions
ascii.h
2674
0644
edit
dl
rm
auth.h
6381
0644
edit
dl
rm
base.h
3497
0644
edit
dl
rm
bindings.h
8027
0644
edit
dl
rm
buildstamp.h
50
0644
edit
dl
rm
ccan-json.h
3677
0644
edit
dl
rm
child.h
1511
0644
edit
dl
rm
class.h
3096
0644
edit
dl
rm
cmd.h
4463
0644
edit
dl
rm
compat.h
1324
0644
edit
dl
rm
conf.h
3948
0644
edit
dl
rm
config.h
36627
0644
edit
dl
rm
configdb.h
5864
0644
edit
dl
rm
ctrls.h
8524
0644
edit
dl
rm
data.h
2582
0644
edit
dl
rm
default_paths.h
3037
0644
edit
dl
rm
dirtree.h
7648
0644
edit
dl
rm
display.h
2514
0644
edit
dl
rm
encode.h
3757
0644
edit
dl
rm
env.h
1913
0644
edit
dl
rm
error.h
18894
0644
edit
dl
rm
event.h
3583
0644
edit
dl
rm
expr.h
2209
0644
edit
dl
rm
feat.h
1303
0644
edit
dl
rm
filter.h
2113
0644
edit
dl
rm
fsio.h
19528
0644
edit
dl
rm
ftp.h
9196
0644
edit
dl
rm
glibc-glob.h
7294
0644
edit
dl
rm
hanson-tpl.h
4505
0644
edit
dl
rm
help.h
1265
0644
edit
dl
rm
ident.h
1334
0644
edit
dl
rm
inet.h
5395
0644
edit
dl
rm
jot.h
8736
0644
edit
dl
rm
json.h
6282
0644
edit
dl
rm
lastlog.h
1655
0644
edit
dl
rm
log.h
6822
0644
edit
dl
rm
logfmt.h
3444
0644
edit
dl
rm
memcache.h
5056
0644
edit
dl
rm
mkhome.h
1569
0644
edit
dl
rm
modules.h
6474
0644
edit
dl
rm
mod_ctrls.h
4058
0644
edit
dl
rm
mod_sftp.h
10959
0644
edit
dl
rm
mod_tls.h
6478
0644
edit
dl
rm
netacl.h
2571
0644
edit
dl
rm
netaddr.h
15999
0644
edit
dl
rm
netio.h
8176
0644
edit
dl
rm
openbsd-blowfish.h
2967
0644
edit
dl
rm
options.h
8531
0644
edit
dl
rm
os.h
7391
0644
edit
dl
rm
parser.h
6351
0644
edit
dl
rm
pidfile.h
1331
0644
edit
dl
rm
pool.h
4138
0644
edit
dl
rm
pr-syslog.h
3552
0644
edit
dl
rm
privs.h
2613
0644
edit
dl
rm
proctitle.h
1682
0644
edit
dl
rm
proftpd.h
9727
0644
edit
dl
rm
random.h
1325
0644
edit
dl
rm
redis.h
15953
0644
edit
dl
rm
regexp.h
3720
0644
edit
dl
rm
response.h
3145
0644
edit
dl
rm
rlimit.h
1873
0644
edit
dl
rm
scoreboard.h
4760
0644
edit
dl
rm
session.h
4430
0644
edit
dl
rm
sets.h
1986
0644
edit
dl
rm
signals.h
1879
0644
edit
dl
rm
stash.h
2174
0644
edit
dl
rm
str.h
5729
0644
edit
dl
rm
support.h
4494
0644
edit
dl
rm
table.h
11883
0644
edit
dl
rm
throttle.h
1299
0644
edit
dl
rm
timers.h
3370
0644
edit
dl
rm
trace.h
2421
0644
edit
dl
rm
utf8.h
1407
0644
edit
dl
rm
var.h
4419
0644
edit
dl
rm
version.h
1631
0644
edit
dl
rm
xferlog.h
1374
0644
edit
dl
rm
Edit:
/usr/include/proftpd/hanson-tpl.h
(4505B)
/* Copyright (c) 2005-2010, Troy D. Hanson http://tpl.sourceforge.net All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef TPL_H #define TPL_H #include <stddef.h> /* size_t */ #ifdef __INTEL_COMPILER #include <tbb/tbbmalloc_proxy.h> #endif /* Intel Compiler efficient memcpy etc */ #ifdef _MSC_VER typedef unsigned int uint32_t; #else #include <inttypes.h> /* uint32_t */ #endif #if defined __cplusplus extern "C" { #endif #ifdef _WIN32 #ifdef TPL_EXPORTS #define TPL_API __declspec(dllexport) #else /* */ #ifdef TPL_NOLIB #define TPL_API #else #define TPL_API __declspec(dllimport) #endif /* TPL_NOLIB */ #endif /* TPL_EXPORTS*/ #else #define TPL_API #endif /* bit flags (external) */ #define TPL_FILE (1 << 0) #define TPL_MEM (1 << 1) #define TPL_PREALLOCD (1 << 2) #define TPL_EXCESS_OK (1 << 3) #define TPL_FD (1 << 4) #define TPL_UFREE (1 << 5) #define TPL_DATAPEEK (1 << 6) #define TPL_FXLENS (1 << 7) #define TPL_GETSIZE (1 << 8) /* do not add flags here without renumbering the internal flags! */ /* flags for tpl_gather mode */ #define TPL_GATHER_BLOCKING 1 #define TPL_GATHER_NONBLOCKING 2 #define TPL_GATHER_MEM 3 /* Hooks for error logging, memory allocation functions and fatal */ typedef int (tpl_print_fcn)(const char *fmt, ...); typedef void *(tpl_malloc_fcn)(size_t sz); typedef void *(tpl_realloc_fcn)(void *ptr, size_t sz); typedef void (tpl_free_fcn)(void *ptr); typedef void (tpl_fatal_fcn)(char *fmt, ...); typedef struct tpl_hook_t { tpl_print_fcn *oops; tpl_malloc_fcn *malloc; tpl_realloc_fcn *realloc; tpl_free_fcn *free; tpl_fatal_fcn *fatal; size_t gather_max; } tpl_hook_t; typedef struct tpl_node { int type; void *addr; void *data; /* r:tpl_root_data*. A:tpl_atyp*. ow:szof type */ int num; /* length of type if its a C array */ size_t ser_osz; /* serialization output size for subtree */ struct tpl_node *children; /* my children; linked-list */ struct tpl_node *next,*prev; /* my siblings (next child of my parent) */ struct tpl_node *parent; /* my parent */ } tpl_node; /* used when un/packing 'B' type (binary buffers) */ typedef struct tpl_bin { void *addr; uint32_t sz; } tpl_bin; /* for async/piecemeal reading of tpl images */ typedef struct tpl_gather_t { char *img; int len; } tpl_gather_t; /* Callback used when tpl_gather has read a full tpl image */ typedef int (tpl_gather_cb)(void *img, size_t sz, void *data); /* Prototypes */ TPL_API void tpl_fatal(char *fmt, ...); /* default tpl_hook fatal fcn */ TPL_API tpl_node *tpl_map(char *fmt,...); /* define tpl using format */ TPL_API void tpl_free(tpl_node *r); /* free a tpl map */ TPL_API int tpl_pack(tpl_node *r, int i); /* pack the n'th packable */ TPL_API int tpl_unpack(tpl_node *r, int i); /* unpack the n'th packable */ TPL_API int tpl_dump(tpl_node *r, int mode, ...); /* serialize to mem/file */ TPL_API int tpl_load(tpl_node *r, int mode, ...); /* set mem/file to unpack */ TPL_API int tpl_Alen(tpl_node *r, int i); /* array len of packable i */ TPL_API char* tpl_peek(int mode, ...); /* sneak peek at format string */ TPL_API int tpl_gather( int mode, ...); /* non-blocking image gather */ TPL_API int tpl_jot(int mode, ...); /* quick write a simple tpl */ #if defined __cplusplus } #endif #endif /* TPL_H */
Save
cmd:
run