Server IP : 172.67.216.182 / Your IP : 172.69.176.78 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/plugin/innodb_memcached/daemon_memcached/include/memcached/ |
Upload File : |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #ifndef MEMCACHED_ENGINE_TESTAPP_H #define MEMCACHED_ENGINE_TESTAPP_H #include <memcached/engine.h> #ifdef __cplusplus extern "C" { #endif enum test_result { SUCCESS = 11, SKIPPED = 12, FAIL = 13, DIED = 14, CORE = 15, PENDING = 19, TIMEOUT = 23 }; struct test_harness { const char *engine_path; const char *default_engine_cfg; ENGINE_HANDLE_V1 *(*start_engine)(const char *, const char *, bool); void(*reload_engine)(ENGINE_HANDLE **, ENGINE_HANDLE_V1 **, const char *, const char *, bool, bool); const void *(*create_cookie)(void); void (*destroy_cookie)(const void *cookie); void (*set_ewouldblock_handling)(const void *cookie, bool enable); void (*lock_cookie)(const void *cookie); void (*unlock_cookie)(const void *cookie); void (*waitfor_cookie)(const void *cookie); void (*time_travel)(int offset); }; typedef struct test { const char *name; enum test_result(*tfun)(ENGINE_HANDLE *, ENGINE_HANDLE_V1 *); bool(*test_setup)(ENGINE_HANDLE *, ENGINE_HANDLE_V1 *); bool(*test_teardown)(ENGINE_HANDLE *, ENGINE_HANDLE_V1 *); const char *cfg; } engine_test_t; typedef engine_test_t* (*GET_TESTS)(void); typedef bool (*SETUP_SUITE)(struct test_harness *); typedef bool (*TEARDOWN_SUITE)(void); #ifdef __cplusplus } #endif #endif /* MEMCACHED_ENGINE_TESTAPP_H */