Added zm_config_defines.h to svn
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2683 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
337bed5dbc
commit
5360eb7e52
|
@ -0,0 +1,553 @@
|
|||
// The file is autogenerated by zmconfgen.pl
|
||||
// Do not edit this file as any changes will be overwritten
|
||||
|
||||
#define ZM_LANG_DEFAULT 0
|
||||
#define ZM_OPT_USE_AUTH 1
|
||||
#define ZM_AUTH_TYPE 2
|
||||
#define ZM_AUTH_RELAY 3
|
||||
#define ZM_AUTH_HASH_SECRET 4
|
||||
#define ZM_AUTH_HASH_IPS 5
|
||||
#define ZM_DIR_EVENTS 6
|
||||
#define ZM_USE_DEEP_STORAGE 7
|
||||
#define ZM_DIR_IMAGES 8
|
||||
#define ZM_DIR_SOUNDS 9
|
||||
#define ZM_PATH_ZMS 10
|
||||
#define ZM_CAN_STREAM 11
|
||||
#define ZM_STREAM_METHOD 12
|
||||
#define ZM_COLOUR_JPEG_FILES 13
|
||||
#define ZM_ADD_JPEG_COMMENTS 14
|
||||
#define ZM_JPEG_FILE_QUALITY 15
|
||||
#define ZM_JPEG_ALARM_FILE_QUALITY 16
|
||||
#define ZM_JPEG_IMAGE_QUALITY 17
|
||||
#define ZM_JPEG_STREAM_QUALITY 18
|
||||
#define ZM_MPEG_TIMED_FRAMES 19
|
||||
#define ZM_MPEG_LIVE_FORMAT 20
|
||||
#define ZM_MPEG_REPLAY_FORMAT 21
|
||||
#define ZM_RAND_STREAM 22
|
||||
#define ZM_OPT_CAMBOZOLA 23
|
||||
#define ZM_PATH_CAMBOZOLA 24
|
||||
#define ZM_TIMESTAMP_ON_CAPTURE 25
|
||||
#define ZM_LOCAL_BGR_INVERT 26
|
||||
#define ZM_Y_IMAGE_DELTAS 27
|
||||
#define ZM_FAST_IMAGE_BLENDS 28
|
||||
#define ZM_OPT_ADAPTIVE_SKIP 29
|
||||
#define ZM_BLEND_ALARMED_IMAGES 30
|
||||
#define ZM_MAX_SUSPEND_TIME 31
|
||||
#define ZM_OPT_REMOTE_CAMERAS 32
|
||||
#define ZM_NETCAM_REGEXPS 33
|
||||
#define ZM_HTTP_VERSION 34
|
||||
#define ZM_HTTP_UA 35
|
||||
#define ZM_HTTP_TIMEOUT 36
|
||||
#define ZM_MIN_RTP_PORT 37
|
||||
#define ZM_MAX_RTP_PORT 38
|
||||
#define ZM_OPT_FFMPEG 39
|
||||
#define ZM_PATH_FFMPEG 40
|
||||
#define ZM_FFMPEG_INPUT_OPTIONS 41
|
||||
#define ZM_FFMPEG_OUTPUT_OPTIONS 42
|
||||
#define ZM_FFMPEG_FORMATS 43
|
||||
#define ZM_OPT_NETPBM 44
|
||||
#define ZM_PATH_NETPBM 45
|
||||
#define ZM_RECORD_EVENT_STATS 46
|
||||
#define ZM_RECORD_DIAG_IMAGES 47
|
||||
#define ZM_EXTRA_DEBUG 48
|
||||
#define ZM_EXTRA_DEBUG_TARGET 49
|
||||
#define ZM_EXTRA_DEBUG_LEVEL 50
|
||||
#define ZM_EXTRA_DEBUG_LOG 51
|
||||
#define ZM_PATH_MAP 52
|
||||
#define ZM_PATH_SOCKS 53
|
||||
#define ZM_PATH_LOGS 54
|
||||
#define ZM_PATH_SWAP 55
|
||||
#define ZM_WEB_TITLE_PREFIX 56
|
||||
#define ZM_WEB_RESIZE_CONSOLE 57
|
||||
#define ZM_WEB_POPUP_ON_ALARM 58
|
||||
#define ZM_OPT_X10 59
|
||||
#define ZM_X10_DEVICE 60
|
||||
#define ZM_X10_HOUSE_CODE 61
|
||||
#define ZM_X10_DB_RELOAD_INTERVAL 62
|
||||
#define ZM_WEB_SOUND_ON_ALARM 63
|
||||
#define ZM_WEB_ALARM_SOUND 64
|
||||
#define ZM_WEB_COMPACT_MONTAGE 65
|
||||
#define ZM_OPT_FAST_DELETE 66
|
||||
#define ZM_STRICT_VIDEO_CONFIG 67
|
||||
#define ZM_SIGNAL_CHECK_POINTS 68
|
||||
#define ZM_CAPTURES_PER_FRAME 69
|
||||
#define ZM_FILTER_RELOAD_DELAY 70
|
||||
#define ZM_FILTER_EXECUTE_INTERVAL 71
|
||||
#define ZM_OPT_UPLOAD 72
|
||||
#define ZM_UPLOAD_ARCH_FORMAT 73
|
||||
#define ZM_UPLOAD_ARCH_COMPRESS 74
|
||||
#define ZM_UPLOAD_ARCH_ANALYSE 75
|
||||
#define ZM_UPLOAD_FTP_HOST 76
|
||||
#define ZM_UPLOAD_FTP_USER 77
|
||||
#define ZM_UPLOAD_FTP_PASS 78
|
||||
#define ZM_UPLOAD_FTP_LOC_DIR 79
|
||||
#define ZM_UPLOAD_FTP_REM_DIR 80
|
||||
#define ZM_UPLOAD_FTP_TIMEOUT 81
|
||||
#define ZM_UPLOAD_FTP_PASSIVE 82
|
||||
#define ZM_UPLOAD_FTP_DEBUG 83
|
||||
#define ZM_OPT_EMAIL 84
|
||||
#define ZM_EMAIL_ADDRESS 85
|
||||
#define ZM_EMAIL_TEXT 86
|
||||
#define ZM_EMAIL_SUBJECT 87
|
||||
#define ZM_EMAIL_BODY 88
|
||||
#define ZM_OPT_MESSAGE 89
|
||||
#define ZM_MESSAGE_ADDRESS 90
|
||||
#define ZM_MESSAGE_TEXT 91
|
||||
#define ZM_MESSAGE_SUBJECT 92
|
||||
#define ZM_MESSAGE_BODY 93
|
||||
#define ZM_NEW_MAIL_MODULES 94
|
||||
#define ZM_EMAIL_HOST 95
|
||||
#define ZM_FROM_EMAIL 96
|
||||
#define ZM_URL 97
|
||||
#define ZM_MAX_RESTART_DELAY 98
|
||||
#define ZM_WATCH_CHECK_INTERVAL 99
|
||||
#define ZM_WATCH_MAX_DELAY 100
|
||||
#define ZM_RUN_AUDIT 101
|
||||
#define ZM_AUDIT_CHECK_INTERVAL 102
|
||||
#define ZM_FORCED_ALARM_SCORE 103
|
||||
#define ZM_BULK_FRAME_INTERVAL 104
|
||||
#define ZM_EVENT_CLOSE_MODE 105
|
||||
#define ZM_FORCE_CLOSE_EVENTS 106
|
||||
#define ZM_CREATE_ANALYSIS_IMAGES 107
|
||||
#define ZM_WEIGHTED_ALARM_CENTRES 108
|
||||
#define ZM_EVENT_IMAGE_DIGITS 109
|
||||
#define ZM_DEFAULT_ASPECT_RATIO 110
|
||||
#define ZM_USER_SELF_EDIT 111
|
||||
#define ZM_OPT_FRAME_SERVER 112
|
||||
#define ZM_FRAME_SOCKET_SIZE 113
|
||||
#define ZM_OPT_CONTROL 114
|
||||
#define ZM_OPT_TRIGGERS 115
|
||||
#define ZM_CHECK_FOR_UPDATES 116
|
||||
#define ZM_UPDATE_CHECK_PROXY 117
|
||||
#define ZM_SHM_KEY 118
|
||||
#define ZM_DUMP_CORES 119
|
||||
#define ZM_WEB_REFRESH_METHOD 120
|
||||
#define ZM_WEB_EVENT_SORT_FIELD 121
|
||||
#define ZM_WEB_EVENT_SORT_ORDER 122
|
||||
#define ZM_WEB_EVENTS_PER_PAGE 123
|
||||
#define ZM_WEB_LIST_THUMBS 124
|
||||
#define ZM_WEB_LIST_THUMB_WIDTH 125
|
||||
#define ZM_WEB_LIST_THUMB_HEIGHT 126
|
||||
#define ZM_WEB_USE_OBJECT_TAGS 127
|
||||
#define ZM_WEB_H_REFRESH_MAIN 128
|
||||
#define ZM_WEB_H_REFRESH_CYCLE 129
|
||||
#define ZM_WEB_H_REFRESH_IMAGE 130
|
||||
#define ZM_WEB_H_REFRESH_STATUS 131
|
||||
#define ZM_WEB_H_REFRESH_EVENTS 132
|
||||
#define ZM_WEB_H_DEFAULT_SCALE 133
|
||||
#define ZM_WEB_H_DEFAULT_RATE 134
|
||||
#define ZM_WEB_H_VIDEO_BITRATE 135
|
||||
#define ZM_WEB_H_VIDEO_MAXFPS 136
|
||||
#define ZM_WEB_H_SCALE_THUMBS 137
|
||||
#define ZM_WEB_H_USE_STREAMS 138
|
||||
#define ZM_WEB_H_EVENTS_VIEW 139
|
||||
#define ZM_WEB_H_SHOW_PROGRESS 140
|
||||
#define ZM_WEB_H_AJAX_TIMEOUT 141
|
||||
#define ZM_WEB_M_REFRESH_MAIN 142
|
||||
#define ZM_WEB_M_REFRESH_CYCLE 143
|
||||
#define ZM_WEB_M_REFRESH_IMAGE 144
|
||||
#define ZM_WEB_M_REFRESH_STATUS 145
|
||||
#define ZM_WEB_M_REFRESH_EVENTS 146
|
||||
#define ZM_WEB_M_DEFAULT_SCALE 147
|
||||
#define ZM_WEB_M_DEFAULT_RATE 148
|
||||
#define ZM_WEB_M_VIDEO_BITRATE 149
|
||||
#define ZM_WEB_M_VIDEO_MAXFPS 150
|
||||
#define ZM_WEB_M_SCALE_THUMBS 151
|
||||
#define ZM_WEB_M_USE_STREAMS 152
|
||||
#define ZM_WEB_M_EVENTS_VIEW 153
|
||||
#define ZM_WEB_M_SHOW_PROGRESS 154
|
||||
#define ZM_WEB_M_AJAX_TIMEOUT 155
|
||||
#define ZM_WEB_L_REFRESH_MAIN 156
|
||||
#define ZM_WEB_L_REFRESH_CYCLE 157
|
||||
#define ZM_WEB_L_REFRESH_IMAGE 158
|
||||
#define ZM_WEB_L_REFRESH_STATUS 159
|
||||
#define ZM_WEB_L_REFRESH_EVENTS 160
|
||||
#define ZM_WEB_L_DEFAULT_SCALE 161
|
||||
#define ZM_WEB_L_DEFAULT_RATE 162
|
||||
#define ZM_WEB_L_VIDEO_BITRATE 163
|
||||
#define ZM_WEB_L_VIDEO_MAXFPS 164
|
||||
#define ZM_WEB_L_SCALE_THUMBS 165
|
||||
#define ZM_WEB_L_USE_STREAMS 166
|
||||
#define ZM_WEB_L_EVENTS_VIEW 167
|
||||
#define ZM_WEB_L_SHOW_PROGRESS 168
|
||||
#define ZM_WEB_L_AJAX_TIMEOUT 169
|
||||
#define ZM_WEB_P_DEFAULT_RATE 170
|
||||
#define ZM_WEB_P_SCALE_THUMBS 171
|
||||
#define ZM_WEB_P_AJAX_TIMEOUT 172
|
||||
#define ZM_DYN_LAST_VERSION 173
|
||||
#define ZM_DYN_CURR_VERSION 174
|
||||
#define ZM_DYN_DB_VERSION 175
|
||||
#define ZM_DYN_LAST_CHECK 176
|
||||
#define ZM_DYN_NEXT_REMINDER 177
|
||||
#define ZM_DYN_DONATE_REMINDER_TIME 178
|
||||
#define ZM_DYN_SHOW_DONATE_REMINDER 179
|
||||
|
||||
|
||||
#define ZM_MAX_CFG_ID 179
|
||||
|
||||
#define ZM_CFG_DECLARE_LIST \
|
||||
const char *lang_default;\
|
||||
bool opt_use_auth;\
|
||||
const char *auth_type;\
|
||||
const char *auth_relay;\
|
||||
const char *auth_hash_secret;\
|
||||
bool auth_hash_ips;\
|
||||
const char *dir_events;\
|
||||
bool use_deep_storage;\
|
||||
const char *dir_images;\
|
||||
const char *dir_sounds;\
|
||||
const char *path_zms;\
|
||||
const char *can_stream;\
|
||||
const char *stream_method;\
|
||||
bool colour_jpeg_files;\
|
||||
bool add_jpeg_comments;\
|
||||
int jpeg_file_quality;\
|
||||
int jpeg_alarm_file_quality;\
|
||||
int jpeg_image_quality;\
|
||||
int jpeg_stream_quality;\
|
||||
bool mpeg_timed_frames;\
|
||||
const char *mpeg_live_format;\
|
||||
const char *mpeg_replay_format;\
|
||||
bool rand_stream;\
|
||||
bool opt_cambozola;\
|
||||
const char *path_cambozola;\
|
||||
bool timestamp_on_capture;\
|
||||
bool local_bgr_invert;\
|
||||
bool y_image_deltas;\
|
||||
bool fast_image_blends;\
|
||||
bool opt_adaptive_skip;\
|
||||
bool blend_alarmed_images;\
|
||||
int max_suspend_time;\
|
||||
bool opt_remote_cameras;\
|
||||
bool netcam_regexps;\
|
||||
const char *http_version;\
|
||||
const char *http_ua;\
|
||||
int http_timeout;\
|
||||
int min_rtp_port;\
|
||||
int max_rtp_port;\
|
||||
bool opt_ffmpeg;\
|
||||
const char *path_ffmpeg;\
|
||||
const char *ffmpeg_input_options;\
|
||||
const char *ffmpeg_output_options;\
|
||||
const char *ffmpeg_formats;\
|
||||
bool opt_netpbm;\
|
||||
const char *path_netpbm;\
|
||||
bool record_event_stats;\
|
||||
bool record_diag_images;\
|
||||
bool extra_debug;\
|
||||
const char *extra_debug_target;\
|
||||
int extra_debug_level;\
|
||||
const char *extra_debug_log;\
|
||||
const char *path_map;\
|
||||
const char *path_socks;\
|
||||
const char *path_logs;\
|
||||
const char *path_swap;\
|
||||
const char *web_title_prefix;\
|
||||
bool web_resize_console;\
|
||||
bool web_popup_on_alarm;\
|
||||
bool opt_x10;\
|
||||
const char *x10_device;\
|
||||
const char *x10_house_code;\
|
||||
int x10_db_reload_interval;\
|
||||
bool web_sound_on_alarm;\
|
||||
const char *web_alarm_sound;\
|
||||
bool web_compact_montage;\
|
||||
bool opt_fast_delete;\
|
||||
bool strict_video_config;\
|
||||
int signal_check_points;\
|
||||
int captures_per_frame;\
|
||||
int filter_reload_delay;\
|
||||
int filter_execute_interval;\
|
||||
bool opt_upload;\
|
||||
const char *upload_arch_format;\
|
||||
bool upload_arch_compress;\
|
||||
bool upload_arch_analyse;\
|
||||
const char *upload_ftp_host;\
|
||||
const char *upload_ftp_user;\
|
||||
const char *upload_ftp_pass;\
|
||||
const char *upload_ftp_loc_dir;\
|
||||
const char *upload_ftp_rem_dir;\
|
||||
int upload_ftp_timeout;\
|
||||
bool upload_ftp_passive;\
|
||||
bool upload_ftp_debug;\
|
||||
bool opt_email;\
|
||||
const char *email_address;\
|
||||
const char *email_text;\
|
||||
const char *email_subject;\
|
||||
const char *email_body;\
|
||||
bool opt_message;\
|
||||
const char *message_address;\
|
||||
const char *message_text;\
|
||||
const char *message_subject;\
|
||||
const char *message_body;\
|
||||
bool new_mail_modules;\
|
||||
const char *email_host;\
|
||||
const char *from_email;\
|
||||
const char *url;\
|
||||
int max_restart_delay;\
|
||||
int watch_check_interval;\
|
||||
double watch_max_delay;\
|
||||
bool run_audit;\
|
||||
int audit_check_interval;\
|
||||
int forced_alarm_score;\
|
||||
int bulk_frame_interval;\
|
||||
const char *event_close_mode;\
|
||||
bool force_close_events;\
|
||||
bool create_analysis_images;\
|
||||
bool weighted_alarm_centres;\
|
||||
int event_image_digits;\
|
||||
const char *default_aspect_ratio;\
|
||||
bool user_self_edit;\
|
||||
bool opt_frame_server;\
|
||||
int frame_socket_size;\
|
||||
bool opt_control;\
|
||||
bool opt_triggers;\
|
||||
bool check_for_updates;\
|
||||
const char *update_check_proxy;\
|
||||
int shm_key;\
|
||||
bool dump_cores;\
|
||||
const char *web_refresh_method;\
|
||||
const char *web_event_sort_field;\
|
||||
const char *web_event_sort_order;\
|
||||
int web_events_per_page;\
|
||||
bool web_list_thumbs;\
|
||||
int web_list_thumb_width;\
|
||||
int web_list_thumb_height;\
|
||||
bool web_use_object_tags;\
|
||||
int web_h_refresh_main;\
|
||||
int web_h_refresh_cycle;\
|
||||
int web_h_refresh_image;\
|
||||
int web_h_refresh_status;\
|
||||
int web_h_refresh_events;\
|
||||
int web_h_default_scale;\
|
||||
int web_h_default_rate;\
|
||||
int web_h_video_bitrate;\
|
||||
int web_h_video_maxfps;\
|
||||
bool web_h_scale_thumbs;\
|
||||
bool web_h_use_streams;\
|
||||
const char *web_h_events_view;\
|
||||
bool web_h_show_progress;\
|
||||
int web_h_ajax_timeout;\
|
||||
int web_m_refresh_main;\
|
||||
int web_m_refresh_cycle;\
|
||||
int web_m_refresh_image;\
|
||||
int web_m_refresh_status;\
|
||||
int web_m_refresh_events;\
|
||||
int web_m_default_scale;\
|
||||
int web_m_default_rate;\
|
||||
int web_m_video_bitrate;\
|
||||
int web_m_video_maxfps;\
|
||||
bool web_m_scale_thumbs;\
|
||||
bool web_m_use_streams;\
|
||||
const char *web_m_events_view;\
|
||||
bool web_m_show_progress;\
|
||||
int web_m_ajax_timeout;\
|
||||
int web_l_refresh_main;\
|
||||
int web_l_refresh_cycle;\
|
||||
int web_l_refresh_image;\
|
||||
int web_l_refresh_status;\
|
||||
int web_l_refresh_events;\
|
||||
int web_l_default_scale;\
|
||||
int web_l_default_rate;\
|
||||
int web_l_video_bitrate;\
|
||||
int web_l_video_maxfps;\
|
||||
bool web_l_scale_thumbs;\
|
||||
bool web_l_use_streams;\
|
||||
const char *web_l_events_view;\
|
||||
bool web_l_show_progress;\
|
||||
int web_l_ajax_timeout;\
|
||||
int web_p_default_rate;\
|
||||
bool web_p_scale_thumbs;\
|
||||
int web_p_ajax_timeout;\
|
||||
const char *dyn_last_version;\
|
||||
const char *dyn_curr_version;\
|
||||
const char *dyn_db_version;\
|
||||
int dyn_last_check;\
|
||||
const char *dyn_next_reminder;\
|
||||
int dyn_donate_reminder_time;\
|
||||
bool dyn_show_donate_reminder;\
|
||||
|
||||
|
||||
#define ZM_CFG_ASSIGN_LIST \
|
||||
lang_default = (const char *)config.Item( ZM_LANG_DEFAULT );\
|
||||
opt_use_auth = (bool)config.Item( ZM_OPT_USE_AUTH );\
|
||||
auth_type = (const char *)config.Item( ZM_AUTH_TYPE );\
|
||||
auth_relay = (const char *)config.Item( ZM_AUTH_RELAY );\
|
||||
auth_hash_secret = (const char *)config.Item( ZM_AUTH_HASH_SECRET );\
|
||||
auth_hash_ips = (bool)config.Item( ZM_AUTH_HASH_IPS );\
|
||||
dir_events = (const char *)config.Item( ZM_DIR_EVENTS );\
|
||||
use_deep_storage = (bool)config.Item( ZM_USE_DEEP_STORAGE );\
|
||||
dir_images = (const char *)config.Item( ZM_DIR_IMAGES );\
|
||||
dir_sounds = (const char *)config.Item( ZM_DIR_SOUNDS );\
|
||||
path_zms = (const char *)config.Item( ZM_PATH_ZMS );\
|
||||
can_stream = (const char *)config.Item( ZM_CAN_STREAM );\
|
||||
stream_method = (const char *)config.Item( ZM_STREAM_METHOD );\
|
||||
colour_jpeg_files = (bool)config.Item( ZM_COLOUR_JPEG_FILES );\
|
||||
add_jpeg_comments = (bool)config.Item( ZM_ADD_JPEG_COMMENTS );\
|
||||
jpeg_file_quality = (int)config.Item( ZM_JPEG_FILE_QUALITY );\
|
||||
jpeg_alarm_file_quality = (int)config.Item( ZM_JPEG_ALARM_FILE_QUALITY );\
|
||||
jpeg_image_quality = (int)config.Item( ZM_JPEG_IMAGE_QUALITY );\
|
||||
jpeg_stream_quality = (int)config.Item( ZM_JPEG_STREAM_QUALITY );\
|
||||
mpeg_timed_frames = (bool)config.Item( ZM_MPEG_TIMED_FRAMES );\
|
||||
mpeg_live_format = (const char *)config.Item( ZM_MPEG_LIVE_FORMAT );\
|
||||
mpeg_replay_format = (const char *)config.Item( ZM_MPEG_REPLAY_FORMAT );\
|
||||
rand_stream = (bool)config.Item( ZM_RAND_STREAM );\
|
||||
opt_cambozola = (bool)config.Item( ZM_OPT_CAMBOZOLA );\
|
||||
path_cambozola = (const char *)config.Item( ZM_PATH_CAMBOZOLA );\
|
||||
timestamp_on_capture = (bool)config.Item( ZM_TIMESTAMP_ON_CAPTURE );\
|
||||
local_bgr_invert = (bool)config.Item( ZM_LOCAL_BGR_INVERT );\
|
||||
y_image_deltas = (bool)config.Item( ZM_Y_IMAGE_DELTAS );\
|
||||
fast_image_blends = (bool)config.Item( ZM_FAST_IMAGE_BLENDS );\
|
||||
opt_adaptive_skip = (bool)config.Item( ZM_OPT_ADAPTIVE_SKIP );\
|
||||
blend_alarmed_images = (bool)config.Item( ZM_BLEND_ALARMED_IMAGES );\
|
||||
max_suspend_time = (int)config.Item( ZM_MAX_SUSPEND_TIME );\
|
||||
opt_remote_cameras = (bool)config.Item( ZM_OPT_REMOTE_CAMERAS );\
|
||||
netcam_regexps = (bool)config.Item( ZM_NETCAM_REGEXPS );\
|
||||
http_version = (const char *)config.Item( ZM_HTTP_VERSION );\
|
||||
http_ua = (const char *)config.Item( ZM_HTTP_UA );\
|
||||
http_timeout = (int)config.Item( ZM_HTTP_TIMEOUT );\
|
||||
min_rtp_port = (int)config.Item( ZM_MIN_RTP_PORT );\
|
||||
max_rtp_port = (int)config.Item( ZM_MAX_RTP_PORT );\
|
||||
opt_ffmpeg = (bool)config.Item( ZM_OPT_FFMPEG );\
|
||||
path_ffmpeg = (const char *)config.Item( ZM_PATH_FFMPEG );\
|
||||
ffmpeg_input_options = (const char *)config.Item( ZM_FFMPEG_INPUT_OPTIONS );\
|
||||
ffmpeg_output_options = (const char *)config.Item( ZM_FFMPEG_OUTPUT_OPTIONS );\
|
||||
ffmpeg_formats = (const char *)config.Item( ZM_FFMPEG_FORMATS );\
|
||||
opt_netpbm = (bool)config.Item( ZM_OPT_NETPBM );\
|
||||
path_netpbm = (const char *)config.Item( ZM_PATH_NETPBM );\
|
||||
record_event_stats = (bool)config.Item( ZM_RECORD_EVENT_STATS );\
|
||||
record_diag_images = (bool)config.Item( ZM_RECORD_DIAG_IMAGES );\
|
||||
extra_debug = (bool)config.Item( ZM_EXTRA_DEBUG );\
|
||||
extra_debug_target = (const char *)config.Item( ZM_EXTRA_DEBUG_TARGET );\
|
||||
extra_debug_level = (int)config.Item( ZM_EXTRA_DEBUG_LEVEL );\
|
||||
extra_debug_log = (const char *)config.Item( ZM_EXTRA_DEBUG_LOG );\
|
||||
path_map = (const char *)config.Item( ZM_PATH_MAP );\
|
||||
path_socks = (const char *)config.Item( ZM_PATH_SOCKS );\
|
||||
path_logs = (const char *)config.Item( ZM_PATH_LOGS );\
|
||||
path_swap = (const char *)config.Item( ZM_PATH_SWAP );\
|
||||
web_title_prefix = (const char *)config.Item( ZM_WEB_TITLE_PREFIX );\
|
||||
web_resize_console = (bool)config.Item( ZM_WEB_RESIZE_CONSOLE );\
|
||||
web_popup_on_alarm = (bool)config.Item( ZM_WEB_POPUP_ON_ALARM );\
|
||||
opt_x10 = (bool)config.Item( ZM_OPT_X10 );\
|
||||
x10_device = (const char *)config.Item( ZM_X10_DEVICE );\
|
||||
x10_house_code = (const char *)config.Item( ZM_X10_HOUSE_CODE );\
|
||||
x10_db_reload_interval = (int)config.Item( ZM_X10_DB_RELOAD_INTERVAL );\
|
||||
web_sound_on_alarm = (bool)config.Item( ZM_WEB_SOUND_ON_ALARM );\
|
||||
web_alarm_sound = (const char *)config.Item( ZM_WEB_ALARM_SOUND );\
|
||||
web_compact_montage = (bool)config.Item( ZM_WEB_COMPACT_MONTAGE );\
|
||||
opt_fast_delete = (bool)config.Item( ZM_OPT_FAST_DELETE );\
|
||||
strict_video_config = (bool)config.Item( ZM_STRICT_VIDEO_CONFIG );\
|
||||
signal_check_points = (int)config.Item( ZM_SIGNAL_CHECK_POINTS );\
|
||||
captures_per_frame = (int)config.Item( ZM_CAPTURES_PER_FRAME );\
|
||||
filter_reload_delay = (int)config.Item( ZM_FILTER_RELOAD_DELAY );\
|
||||
filter_execute_interval = (int)config.Item( ZM_FILTER_EXECUTE_INTERVAL );\
|
||||
opt_upload = (bool)config.Item( ZM_OPT_UPLOAD );\
|
||||
upload_arch_format = (const char *)config.Item( ZM_UPLOAD_ARCH_FORMAT );\
|
||||
upload_arch_compress = (bool)config.Item( ZM_UPLOAD_ARCH_COMPRESS );\
|
||||
upload_arch_analyse = (bool)config.Item( ZM_UPLOAD_ARCH_ANALYSE );\
|
||||
upload_ftp_host = (const char *)config.Item( ZM_UPLOAD_FTP_HOST );\
|
||||
upload_ftp_user = (const char *)config.Item( ZM_UPLOAD_FTP_USER );\
|
||||
upload_ftp_pass = (const char *)config.Item( ZM_UPLOAD_FTP_PASS );\
|
||||
upload_ftp_loc_dir = (const char *)config.Item( ZM_UPLOAD_FTP_LOC_DIR );\
|
||||
upload_ftp_rem_dir = (const char *)config.Item( ZM_UPLOAD_FTP_REM_DIR );\
|
||||
upload_ftp_timeout = (int)config.Item( ZM_UPLOAD_FTP_TIMEOUT );\
|
||||
upload_ftp_passive = (bool)config.Item( ZM_UPLOAD_FTP_PASSIVE );\
|
||||
upload_ftp_debug = (bool)config.Item( ZM_UPLOAD_FTP_DEBUG );\
|
||||
opt_email = (bool)config.Item( ZM_OPT_EMAIL );\
|
||||
email_address = (const char *)config.Item( ZM_EMAIL_ADDRESS );\
|
||||
email_text = (const char *)config.Item( ZM_EMAIL_TEXT );\
|
||||
email_subject = (const char *)config.Item( ZM_EMAIL_SUBJECT );\
|
||||
email_body = (const char *)config.Item( ZM_EMAIL_BODY );\
|
||||
opt_message = (bool)config.Item( ZM_OPT_MESSAGE );\
|
||||
message_address = (const char *)config.Item( ZM_MESSAGE_ADDRESS );\
|
||||
message_text = (const char *)config.Item( ZM_MESSAGE_TEXT );\
|
||||
message_subject = (const char *)config.Item( ZM_MESSAGE_SUBJECT );\
|
||||
message_body = (const char *)config.Item( ZM_MESSAGE_BODY );\
|
||||
new_mail_modules = (bool)config.Item( ZM_NEW_MAIL_MODULES );\
|
||||
email_host = (const char *)config.Item( ZM_EMAIL_HOST );\
|
||||
from_email = (const char *)config.Item( ZM_FROM_EMAIL );\
|
||||
url = (const char *)config.Item( ZM_URL );\
|
||||
max_restart_delay = (int)config.Item( ZM_MAX_RESTART_DELAY );\
|
||||
watch_check_interval = (int)config.Item( ZM_WATCH_CHECK_INTERVAL );\
|
||||
watch_max_delay = (double) config.Item( ZM_WATCH_MAX_DELAY );\
|
||||
run_audit = (bool)config.Item( ZM_RUN_AUDIT );\
|
||||
audit_check_interval = (int)config.Item( ZM_AUDIT_CHECK_INTERVAL );\
|
||||
forced_alarm_score = (int)config.Item( ZM_FORCED_ALARM_SCORE );\
|
||||
bulk_frame_interval = (int)config.Item( ZM_BULK_FRAME_INTERVAL );\
|
||||
event_close_mode = (const char *)config.Item( ZM_EVENT_CLOSE_MODE );\
|
||||
force_close_events = (bool)config.Item( ZM_FORCE_CLOSE_EVENTS );\
|
||||
create_analysis_images = (bool)config.Item( ZM_CREATE_ANALYSIS_IMAGES );\
|
||||
weighted_alarm_centres = (bool)config.Item( ZM_WEIGHTED_ALARM_CENTRES );\
|
||||
event_image_digits = (int)config.Item( ZM_EVENT_IMAGE_DIGITS );\
|
||||
default_aspect_ratio = (const char *)config.Item( ZM_DEFAULT_ASPECT_RATIO );\
|
||||
user_self_edit = (bool)config.Item( ZM_USER_SELF_EDIT );\
|
||||
opt_frame_server = (bool)config.Item( ZM_OPT_FRAME_SERVER );\
|
||||
frame_socket_size = (int)config.Item( ZM_FRAME_SOCKET_SIZE );\
|
||||
opt_control = (bool)config.Item( ZM_OPT_CONTROL );\
|
||||
opt_triggers = (bool)config.Item( ZM_OPT_TRIGGERS );\
|
||||
check_for_updates = (bool)config.Item( ZM_CHECK_FOR_UPDATES );\
|
||||
update_check_proxy = (const char *)config.Item( ZM_UPDATE_CHECK_PROXY );\
|
||||
shm_key = (int)config.Item( ZM_SHM_KEY );\
|
||||
dump_cores = (bool)config.Item( ZM_DUMP_CORES );\
|
||||
web_refresh_method = (const char *)config.Item( ZM_WEB_REFRESH_METHOD );\
|
||||
web_event_sort_field = (const char *)config.Item( ZM_WEB_EVENT_SORT_FIELD );\
|
||||
web_event_sort_order = (const char *)config.Item( ZM_WEB_EVENT_SORT_ORDER );\
|
||||
web_events_per_page = (int)config.Item( ZM_WEB_EVENTS_PER_PAGE );\
|
||||
web_list_thumbs = (bool)config.Item( ZM_WEB_LIST_THUMBS );\
|
||||
web_list_thumb_width = (int)config.Item( ZM_WEB_LIST_THUMB_WIDTH );\
|
||||
web_list_thumb_height = (int)config.Item( ZM_WEB_LIST_THUMB_HEIGHT );\
|
||||
web_use_object_tags = (bool)config.Item( ZM_WEB_USE_OBJECT_TAGS );\
|
||||
web_h_refresh_main = (int)config.Item( ZM_WEB_H_REFRESH_MAIN );\
|
||||
web_h_refresh_cycle = (int)config.Item( ZM_WEB_H_REFRESH_CYCLE );\
|
||||
web_h_refresh_image = (int)config.Item( ZM_WEB_H_REFRESH_IMAGE );\
|
||||
web_h_refresh_status = (int)config.Item( ZM_WEB_H_REFRESH_STATUS );\
|
||||
web_h_refresh_events = (int)config.Item( ZM_WEB_H_REFRESH_EVENTS );\
|
||||
web_h_default_scale = (int)config.Item( ZM_WEB_H_DEFAULT_SCALE );\
|
||||
web_h_default_rate = (int)config.Item( ZM_WEB_H_DEFAULT_RATE );\
|
||||
web_h_video_bitrate = (int)config.Item( ZM_WEB_H_VIDEO_BITRATE );\
|
||||
web_h_video_maxfps = (int)config.Item( ZM_WEB_H_VIDEO_MAXFPS );\
|
||||
web_h_scale_thumbs = (bool)config.Item( ZM_WEB_H_SCALE_THUMBS );\
|
||||
web_h_use_streams = (bool)config.Item( ZM_WEB_H_USE_STREAMS );\
|
||||
web_h_events_view = (const char *)config.Item( ZM_WEB_H_EVENTS_VIEW );\
|
||||
web_h_show_progress = (bool)config.Item( ZM_WEB_H_SHOW_PROGRESS );\
|
||||
web_h_ajax_timeout = (int)config.Item( ZM_WEB_H_AJAX_TIMEOUT );\
|
||||
web_m_refresh_main = (int)config.Item( ZM_WEB_M_REFRESH_MAIN );\
|
||||
web_m_refresh_cycle = (int)config.Item( ZM_WEB_M_REFRESH_CYCLE );\
|
||||
web_m_refresh_image = (int)config.Item( ZM_WEB_M_REFRESH_IMAGE );\
|
||||
web_m_refresh_status = (int)config.Item( ZM_WEB_M_REFRESH_STATUS );\
|
||||
web_m_refresh_events = (int)config.Item( ZM_WEB_M_REFRESH_EVENTS );\
|
||||
web_m_default_scale = (int)config.Item( ZM_WEB_M_DEFAULT_SCALE );\
|
||||
web_m_default_rate = (int)config.Item( ZM_WEB_M_DEFAULT_RATE );\
|
||||
web_m_video_bitrate = (int)config.Item( ZM_WEB_M_VIDEO_BITRATE );\
|
||||
web_m_video_maxfps = (int)config.Item( ZM_WEB_M_VIDEO_MAXFPS );\
|
||||
web_m_scale_thumbs = (bool)config.Item( ZM_WEB_M_SCALE_THUMBS );\
|
||||
web_m_use_streams = (bool)config.Item( ZM_WEB_M_USE_STREAMS );\
|
||||
web_m_events_view = (const char *)config.Item( ZM_WEB_M_EVENTS_VIEW );\
|
||||
web_m_show_progress = (bool)config.Item( ZM_WEB_M_SHOW_PROGRESS );\
|
||||
web_m_ajax_timeout = (int)config.Item( ZM_WEB_M_AJAX_TIMEOUT );\
|
||||
web_l_refresh_main = (int)config.Item( ZM_WEB_L_REFRESH_MAIN );\
|
||||
web_l_refresh_cycle = (int)config.Item( ZM_WEB_L_REFRESH_CYCLE );\
|
||||
web_l_refresh_image = (int)config.Item( ZM_WEB_L_REFRESH_IMAGE );\
|
||||
web_l_refresh_status = (int)config.Item( ZM_WEB_L_REFRESH_STATUS );\
|
||||
web_l_refresh_events = (int)config.Item( ZM_WEB_L_REFRESH_EVENTS );\
|
||||
web_l_default_scale = (int)config.Item( ZM_WEB_L_DEFAULT_SCALE );\
|
||||
web_l_default_rate = (int)config.Item( ZM_WEB_L_DEFAULT_RATE );\
|
||||
web_l_video_bitrate = (int)config.Item( ZM_WEB_L_VIDEO_BITRATE );\
|
||||
web_l_video_maxfps = (int)config.Item( ZM_WEB_L_VIDEO_MAXFPS );\
|
||||
web_l_scale_thumbs = (bool)config.Item( ZM_WEB_L_SCALE_THUMBS );\
|
||||
web_l_use_streams = (bool)config.Item( ZM_WEB_L_USE_STREAMS );\
|
||||
web_l_events_view = (const char *)config.Item( ZM_WEB_L_EVENTS_VIEW );\
|
||||
web_l_show_progress = (bool)config.Item( ZM_WEB_L_SHOW_PROGRESS );\
|
||||
web_l_ajax_timeout = (int)config.Item( ZM_WEB_L_AJAX_TIMEOUT );\
|
||||
web_p_default_rate = (int)config.Item( ZM_WEB_P_DEFAULT_RATE );\
|
||||
web_p_scale_thumbs = (bool)config.Item( ZM_WEB_P_SCALE_THUMBS );\
|
||||
web_p_ajax_timeout = (int)config.Item( ZM_WEB_P_AJAX_TIMEOUT );\
|
||||
dyn_last_version = (const char *)config.Item( ZM_DYN_LAST_VERSION );\
|
||||
dyn_curr_version = (const char *)config.Item( ZM_DYN_CURR_VERSION );\
|
||||
dyn_db_version = (const char *)config.Item( ZM_DYN_DB_VERSION );\
|
||||
dyn_last_check = (int)config.Item( ZM_DYN_LAST_CHECK );\
|
||||
dyn_next_reminder = (const char *)config.Item( ZM_DYN_NEXT_REMINDER );\
|
||||
dyn_donate_reminder_time = (int)config.Item( ZM_DYN_DONATE_REMINDER_TIME );\
|
||||
dyn_show_donate_reminder = (bool)config.Item( ZM_DYN_SHOW_DONATE_REMINDER );\
|
||||
|
||||
|
Loading…
Reference in New Issue