Added updated configure and src/zm_config_defines.h
parent
b51bce05e8
commit
41ad83a7d3
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,637 @@
|
|||
// 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_AUTH_HASH_LOGINS 6
|
||||
#define ZM_DIR_EVENTS 7
|
||||
#define ZM_USE_DEEP_STORAGE 8
|
||||
#define ZM_DIR_IMAGES 9
|
||||
#define ZM_DIR_SOUNDS 10
|
||||
#define ZM_PATH_ZMS 11
|
||||
#define ZM_COLOUR_JPEG_FILES 12
|
||||
#define ZM_ADD_JPEG_COMMENTS 13
|
||||
#define ZM_JPEG_FILE_QUALITY 14
|
||||
#define ZM_JPEG_ALARM_FILE_QUALITY 15
|
||||
#define ZM_JPEG_IMAGE_QUALITY 16
|
||||
#define ZM_JPEG_STREAM_QUALITY 17
|
||||
#define ZM_MPEG_TIMED_FRAMES 18
|
||||
#define ZM_MPEG_LIVE_FORMAT 19
|
||||
#define ZM_MPEG_REPLAY_FORMAT 20
|
||||
#define ZM_RAND_STREAM 21
|
||||
#define ZM_OPT_CAMBOZOLA 22
|
||||
#define ZM_PATH_CAMBOZOLA 23
|
||||
#define ZM_RELOAD_CAMBOZOLA 24
|
||||
#define ZM_TIMESTAMP_ON_CAPTURE 25
|
||||
#define ZM_CPU_EXTENSIONS 26
|
||||
#define ZM_FAST_IMAGE_BLENDS 27
|
||||
#define ZM_OPT_ADAPTIVE_SKIP 28
|
||||
#define ZM_BLEND_ALARMED_IMAGES 29
|
||||
#define ZM_MAX_SUSPEND_TIME 30
|
||||
#define ZM_OPT_REMOTE_CAMERAS 31
|
||||
#define ZM_NETCAM_REGEXPS 32
|
||||
#define ZM_HTTP_VERSION 33
|
||||
#define ZM_HTTP_UA 34
|
||||
#define ZM_HTTP_TIMEOUT 35
|
||||
#define ZM_MIN_RTP_PORT 36
|
||||
#define ZM_MAX_RTP_PORT 37
|
||||
#define ZM_OPT_FFMPEG 38
|
||||
#define ZM_PATH_FFMPEG 39
|
||||
#define ZM_FFMPEG_INPUT_OPTIONS 40
|
||||
#define ZM_FFMPEG_OUTPUT_OPTIONS 41
|
||||
#define ZM_FFMPEG_FORMATS 42
|
||||
#define ZM_LOG_LEVEL_SYSLOG 43
|
||||
#define ZM_LOG_LEVEL_FILE 44
|
||||
#define ZM_LOG_LEVEL_WEBLOG 45
|
||||
#define ZM_LOG_LEVEL_DATABASE 46
|
||||
#define ZM_LOG_DATABASE_LIMIT 47
|
||||
#define ZM_LOG_DEBUG 48
|
||||
#define ZM_LOG_DEBUG_TARGET 49
|
||||
#define ZM_LOG_DEBUG_LEVEL 50
|
||||
#define ZM_LOG_DEBUG_FILE 51
|
||||
#define ZM_LOG_CHECK_PERIOD 52
|
||||
#define ZM_LOG_ALERT_WAR_COUNT 53
|
||||
#define ZM_LOG_ALERT_ERR_COUNT 54
|
||||
#define ZM_LOG_ALERT_FAT_COUNT 55
|
||||
#define ZM_LOG_ALARM_WAR_COUNT 56
|
||||
#define ZM_LOG_ALARM_ERR_COUNT 57
|
||||
#define ZM_LOG_ALARM_FAT_COUNT 58
|
||||
#define ZM_RECORD_EVENT_STATS 59
|
||||
#define ZM_RECORD_DIAG_IMAGES 60
|
||||
#define ZM_DUMP_CORES 61
|
||||
#define ZM_PATH_MAP 62
|
||||
#define ZM_PATH_SOCKS 63
|
||||
#define ZM_PATH_LOGS 64
|
||||
#define ZM_PATH_SWAP 65
|
||||
#define ZM_WEB_TITLE_PREFIX 66
|
||||
#define ZM_WEB_RESIZE_CONSOLE 67
|
||||
#define ZM_WEB_POPUP_ON_ALARM 68
|
||||
#define ZM_OPT_X10 69
|
||||
#define ZM_X10_DEVICE 70
|
||||
#define ZM_X10_HOUSE_CODE 71
|
||||
#define ZM_X10_DB_RELOAD_INTERVAL 72
|
||||
#define ZM_WEB_SOUND_ON_ALARM 73
|
||||
#define ZM_WEB_ALARM_SOUND 74
|
||||
#define ZM_WEB_COMPACT_MONTAGE 75
|
||||
#define ZM_OPT_FAST_DELETE 76
|
||||
#define ZM_STRICT_VIDEO_CONFIG 77
|
||||
#define ZM_V4L2_CAPTURE_FIELDS 78
|
||||
#define ZM_SIGNAL_CHECK_POINTS 79
|
||||
#define ZM_V4L_MULTI_BUFFER 80
|
||||
#define ZM_CAPTURES_PER_FRAME 81
|
||||
#define ZM_FILTER_RELOAD_DELAY 82
|
||||
#define ZM_FILTER_EXECUTE_INTERVAL 83
|
||||
#define ZM_OPT_UPLOAD 84
|
||||
#define ZM_UPLOAD_ARCH_FORMAT 85
|
||||
#define ZM_UPLOAD_ARCH_COMPRESS 86
|
||||
#define ZM_UPLOAD_ARCH_ANALYSE 87
|
||||
#define ZM_UPLOAD_FTP_HOST 88
|
||||
#define ZM_UPLOAD_FTP_USER 89
|
||||
#define ZM_UPLOAD_FTP_PASS 90
|
||||
#define ZM_UPLOAD_FTP_LOC_DIR 91
|
||||
#define ZM_UPLOAD_FTP_REM_DIR 92
|
||||
#define ZM_UPLOAD_FTP_TIMEOUT 93
|
||||
#define ZM_UPLOAD_FTP_PASSIVE 94
|
||||
#define ZM_UPLOAD_FTP_DEBUG 95
|
||||
#define ZM_OPT_EMAIL 96
|
||||
#define ZM_EMAIL_ADDRESS 97
|
||||
#define ZM_EMAIL_TEXT 98
|
||||
#define ZM_EMAIL_SUBJECT 99
|
||||
#define ZM_EMAIL_BODY 100
|
||||
#define ZM_OPT_MESSAGE 101
|
||||
#define ZM_MESSAGE_ADDRESS 102
|
||||
#define ZM_MESSAGE_TEXT 103
|
||||
#define ZM_MESSAGE_SUBJECT 104
|
||||
#define ZM_MESSAGE_BODY 105
|
||||
#define ZM_NEW_MAIL_MODULES 106
|
||||
#define ZM_EMAIL_HOST 107
|
||||
#define ZM_FROM_EMAIL 108
|
||||
#define ZM_URL 109
|
||||
#define ZM_MAX_RESTART_DELAY 110
|
||||
#define ZM_WATCH_CHECK_INTERVAL 111
|
||||
#define ZM_WATCH_MAX_DELAY 112
|
||||
#define ZM_RUN_AUDIT 113
|
||||
#define ZM_AUDIT_CHECK_INTERVAL 114
|
||||
#define ZM_FORCED_ALARM_SCORE 115
|
||||
#define ZM_BULK_FRAME_INTERVAL 116
|
||||
#define ZM_EVENT_CLOSE_MODE 117
|
||||
#define ZM_FORCE_CLOSE_EVENTS 118
|
||||
#define ZM_CREATE_ANALYSIS_IMAGES 119
|
||||
#define ZM_WEIGHTED_ALARM_CENTRES 120
|
||||
#define ZM_EVENT_IMAGE_DIGITS 121
|
||||
#define ZM_DEFAULT_ASPECT_RATIO 122
|
||||
#define ZM_USER_SELF_EDIT 123
|
||||
#define ZM_OPT_FRAME_SERVER 124
|
||||
#define ZM_FRAME_SOCKET_SIZE 125
|
||||
#define ZM_OPT_CONTROL 126
|
||||
#define ZM_OPT_TRIGGERS 127
|
||||
#define ZM_CHECK_FOR_UPDATES 128
|
||||
#define ZM_UPDATE_CHECK_PROXY 129
|
||||
#define ZM_SHM_KEY 130
|
||||
#define ZM_WEB_REFRESH_METHOD 131
|
||||
#define ZM_WEB_EVENT_SORT_FIELD 132
|
||||
#define ZM_WEB_EVENT_SORT_ORDER 133
|
||||
#define ZM_WEB_EVENTS_PER_PAGE 134
|
||||
#define ZM_WEB_LIST_THUMBS 135
|
||||
#define ZM_WEB_LIST_THUMB_WIDTH 136
|
||||
#define ZM_WEB_LIST_THUMB_HEIGHT 137
|
||||
#define ZM_WEB_USE_OBJECT_TAGS 138
|
||||
#define ZM_WEB_H_REFRESH_MAIN 139
|
||||
#define ZM_WEB_H_REFRESH_CYCLE 140
|
||||
#define ZM_WEB_H_REFRESH_IMAGE 141
|
||||
#define ZM_WEB_H_REFRESH_STATUS 142
|
||||
#define ZM_WEB_H_REFRESH_EVENTS 143
|
||||
#define ZM_WEB_H_CAN_STREAM 144
|
||||
#define ZM_WEB_H_STREAM_METHOD 145
|
||||
#define ZM_WEB_H_DEFAULT_SCALE 146
|
||||
#define ZM_WEB_H_DEFAULT_RATE 147
|
||||
#define ZM_WEB_H_VIDEO_BITRATE 148
|
||||
#define ZM_WEB_H_VIDEO_MAXFPS 149
|
||||
#define ZM_WEB_H_SCALE_THUMBS 150
|
||||
#define ZM_WEB_H_EVENTS_VIEW 151
|
||||
#define ZM_WEB_H_SHOW_PROGRESS 152
|
||||
#define ZM_WEB_H_AJAX_TIMEOUT 153
|
||||
#define ZM_WEB_M_REFRESH_MAIN 154
|
||||
#define ZM_WEB_M_REFRESH_CYCLE 155
|
||||
#define ZM_WEB_M_REFRESH_IMAGE 156
|
||||
#define ZM_WEB_M_REFRESH_STATUS 157
|
||||
#define ZM_WEB_M_REFRESH_EVENTS 158
|
||||
#define ZM_WEB_M_CAN_STREAM 159
|
||||
#define ZM_WEB_M_STREAM_METHOD 160
|
||||
#define ZM_WEB_M_DEFAULT_SCALE 161
|
||||
#define ZM_WEB_M_DEFAULT_RATE 162
|
||||
#define ZM_WEB_M_VIDEO_BITRATE 163
|
||||
#define ZM_WEB_M_VIDEO_MAXFPS 164
|
||||
#define ZM_WEB_M_SCALE_THUMBS 165
|
||||
#define ZM_WEB_M_EVENTS_VIEW 166
|
||||
#define ZM_WEB_M_SHOW_PROGRESS 167
|
||||
#define ZM_WEB_M_AJAX_TIMEOUT 168
|
||||
#define ZM_WEB_L_REFRESH_MAIN 169
|
||||
#define ZM_WEB_L_REFRESH_CYCLE 170
|
||||
#define ZM_WEB_L_REFRESH_IMAGE 171
|
||||
#define ZM_WEB_L_REFRESH_STATUS 172
|
||||
#define ZM_WEB_L_REFRESH_EVENTS 173
|
||||
#define ZM_WEB_L_CAN_STREAM 174
|
||||
#define ZM_WEB_L_STREAM_METHOD 175
|
||||
#define ZM_WEB_L_DEFAULT_SCALE 176
|
||||
#define ZM_WEB_L_DEFAULT_RATE 177
|
||||
#define ZM_WEB_L_VIDEO_BITRATE 178
|
||||
#define ZM_WEB_L_VIDEO_MAXFPS 179
|
||||
#define ZM_WEB_L_SCALE_THUMBS 180
|
||||
#define ZM_WEB_L_EVENTS_VIEW 181
|
||||
#define ZM_WEB_L_SHOW_PROGRESS 182
|
||||
#define ZM_WEB_L_AJAX_TIMEOUT 183
|
||||
#define ZM_WEB_P_CAN_STREAM 184
|
||||
#define ZM_WEB_P_STREAM_METHOD 185
|
||||
#define ZM_WEB_P_DEFAULT_SCALE 186
|
||||
#define ZM_WEB_P_DEFAULT_RATE 187
|
||||
#define ZM_WEB_P_VIDEO_BITRATE 188
|
||||
#define ZM_WEB_P_VIDEO_MAXFPS 189
|
||||
#define ZM_WEB_P_SCALE_THUMBS 190
|
||||
#define ZM_WEB_P_AJAX_TIMEOUT 191
|
||||
#define ZM_DYN_LAST_VERSION 192
|
||||
#define ZM_DYN_CURR_VERSION 193
|
||||
#define ZM_DYN_DB_VERSION 194
|
||||
#define ZM_DYN_LAST_CHECK 195
|
||||
#define ZM_DYN_NEXT_REMINDER 196
|
||||
#define ZM_DYN_DONATE_REMINDER_TIME 197
|
||||
#define ZM_DYN_SHOW_DONATE_REMINDER 198
|
||||
#define ZM_EYEZM_DEBUG 199
|
||||
#define ZM_EYEZM_LOG_TO_FILE 200
|
||||
#define ZM_EYEZM_LOG_FILE 201
|
||||
#define ZM_EYEZM_EVENT_VCODEC 202
|
||||
#define ZM_EYEZM_FEED_VCODEC 203
|
||||
#define ZM_EYEZM_H264_DEFAULT_BR 204
|
||||
#define ZM_EYEZM_H264_DEFAULT_EVBR 205
|
||||
#define ZM_EYEZM_H264_TIMEOUT 206
|
||||
#define ZM_EYEZM_SEG_DURATION 207
|
||||
|
||||
|
||||
#define ZM_MAX_CFG_ID 207
|
||||
|
||||
#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;\
|
||||
bool auth_hash_logins;\
|
||||
const char *dir_events;\
|
||||
bool use_deep_storage;\
|
||||
const char *dir_images;\
|
||||
const char *dir_sounds;\
|
||||
const char *path_zms;\
|
||||
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;\
|
||||
int reload_cambozola;\
|
||||
bool timestamp_on_capture;\
|
||||
bool cpu_extensions;\
|
||||
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;\
|
||||
int log_level_syslog;\
|
||||
int log_level_file;\
|
||||
int log_level_weblog;\
|
||||
int log_level_database;\
|
||||
const char *log_database_limit;\
|
||||
bool log_debug;\
|
||||
const char *log_debug_target;\
|
||||
int log_debug_level;\
|
||||
const char *log_debug_file;\
|
||||
int log_check_period;\
|
||||
int log_alert_war_count;\
|
||||
int log_alert_err_count;\
|
||||
int log_alert_fat_count;\
|
||||
int log_alarm_war_count;\
|
||||
int log_alarm_err_count;\
|
||||
int log_alarm_fat_count;\
|
||||
bool record_event_stats;\
|
||||
bool record_diag_images;\
|
||||
bool dump_cores;\
|
||||
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 v4l2_capture_fields;\
|
||||
int signal_check_points;\
|
||||
bool v4l_multi_buffer;\
|
||||
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;\
|
||||
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;\
|
||||
const char *web_h_can_stream;\
|
||||
const char *web_h_stream_method;\
|
||||
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;\
|
||||
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;\
|
||||
const char *web_m_can_stream;\
|
||||
const char *web_m_stream_method;\
|
||||
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;\
|
||||
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;\
|
||||
const char *web_l_can_stream;\
|
||||
const char *web_l_stream_method;\
|
||||
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;\
|
||||
const char *web_l_events_view;\
|
||||
bool web_l_show_progress;\
|
||||
int web_l_ajax_timeout;\
|
||||
const char *web_p_can_stream;\
|
||||
const char *web_p_stream_method;\
|
||||
int web_p_default_scale;\
|
||||
int web_p_default_rate;\
|
||||
int web_p_video_bitrate;\
|
||||
int web_p_video_maxfps;\
|
||||
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;\
|
||||
bool eyezm_debug;\
|
||||
bool eyezm_log_to_file;\
|
||||
const char *eyezm_log_file;\
|
||||
const char *eyezm_event_vcodec;\
|
||||
const char *eyezm_feed_vcodec;\
|
||||
const char *eyezm_h264_default_br;\
|
||||
const char *eyezm_h264_default_evbr;\
|
||||
const char *eyezm_h264_timeout;\
|
||||
const char *eyezm_seg_duration;\
|
||||
|
||||
|
||||
#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 );\
|
||||
auth_hash_logins = (bool)config.Item( ZM_AUTH_HASH_LOGINS );\
|
||||
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 );\
|
||||
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 );\
|
||||
reload_cambozola = (int)config.Item( ZM_RELOAD_CAMBOZOLA );\
|
||||
timestamp_on_capture = (bool)config.Item( ZM_TIMESTAMP_ON_CAPTURE );\
|
||||
cpu_extensions = (bool)config.Item( ZM_CPU_EXTENSIONS );\
|
||||
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 );\
|
||||
log_level_syslog = (int)config.Item( ZM_LOG_LEVEL_SYSLOG );\
|
||||
log_level_file = (int)config.Item( ZM_LOG_LEVEL_FILE );\
|
||||
log_level_weblog = (int)config.Item( ZM_LOG_LEVEL_WEBLOG );\
|
||||
log_level_database = (int)config.Item( ZM_LOG_LEVEL_DATABASE );\
|
||||
log_database_limit = (const char *)config.Item( ZM_LOG_DATABASE_LIMIT );\
|
||||
log_debug = (bool)config.Item( ZM_LOG_DEBUG );\
|
||||
log_debug_target = (const char *)config.Item( ZM_LOG_DEBUG_TARGET );\
|
||||
log_debug_level = (int)config.Item( ZM_LOG_DEBUG_LEVEL );\
|
||||
log_debug_file = (const char *)config.Item( ZM_LOG_DEBUG_FILE );\
|
||||
log_check_period = (int)config.Item( ZM_LOG_CHECK_PERIOD );\
|
||||
log_alert_war_count = (int)config.Item( ZM_LOG_ALERT_WAR_COUNT );\
|
||||
log_alert_err_count = (int)config.Item( ZM_LOG_ALERT_ERR_COUNT );\
|
||||
log_alert_fat_count = (int)config.Item( ZM_LOG_ALERT_FAT_COUNT );\
|
||||
log_alarm_war_count = (int)config.Item( ZM_LOG_ALARM_WAR_COUNT );\
|
||||
log_alarm_err_count = (int)config.Item( ZM_LOG_ALARM_ERR_COUNT );\
|
||||
log_alarm_fat_count = (int)config.Item( ZM_LOG_ALARM_FAT_COUNT );\
|
||||
record_event_stats = (bool)config.Item( ZM_RECORD_EVENT_STATS );\
|
||||
record_diag_images = (bool)config.Item( ZM_RECORD_DIAG_IMAGES );\
|
||||
dump_cores = (bool)config.Item( ZM_DUMP_CORES );\
|
||||
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 );\
|
||||
v4l2_capture_fields = (int)config.Item( ZM_V4L2_CAPTURE_FIELDS );\
|
||||
signal_check_points = (int)config.Item( ZM_SIGNAL_CHECK_POINTS );\
|
||||
v4l_multi_buffer = (bool)config.Item( ZM_V4L_MULTI_BUFFER );\
|
||||
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 );\
|
||||
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_can_stream = (const char *)config.Item( ZM_WEB_H_CAN_STREAM );\
|
||||
web_h_stream_method = (const char *)config.Item( ZM_WEB_H_STREAM_METHOD );\
|
||||
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_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_can_stream = (const char *)config.Item( ZM_WEB_M_CAN_STREAM );\
|
||||
web_m_stream_method = (const char *)config.Item( ZM_WEB_M_STREAM_METHOD );\
|
||||
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_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_can_stream = (const char *)config.Item( ZM_WEB_L_CAN_STREAM );\
|
||||
web_l_stream_method = (const char *)config.Item( ZM_WEB_L_STREAM_METHOD );\
|
||||
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_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_can_stream = (const char *)config.Item( ZM_WEB_P_CAN_STREAM );\
|
||||
web_p_stream_method = (const char *)config.Item( ZM_WEB_P_STREAM_METHOD );\
|
||||
web_p_default_scale = (int)config.Item( ZM_WEB_P_DEFAULT_SCALE );\
|
||||
web_p_default_rate = (int)config.Item( ZM_WEB_P_DEFAULT_RATE );\
|
||||
web_p_video_bitrate = (int)config.Item( ZM_WEB_P_VIDEO_BITRATE );\
|
||||
web_p_video_maxfps = (int)config.Item( ZM_WEB_P_VIDEO_MAXFPS );\
|
||||
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 );\
|
||||
eyezm_debug = (bool)config.Item( ZM_EYEZM_DEBUG );\
|
||||
eyezm_log_to_file = (bool)config.Item( ZM_EYEZM_LOG_TO_FILE );\
|
||||
eyezm_log_file = (const char *)config.Item( ZM_EYEZM_LOG_FILE );\
|
||||
eyezm_event_vcodec = (const char *)config.Item( ZM_EYEZM_EVENT_VCODEC );\
|
||||
eyezm_feed_vcodec = (const char *)config.Item( ZM_EYEZM_FEED_VCODEC );\
|
||||
eyezm_h264_default_br = (const char *)config.Item( ZM_EYEZM_H264_DEFAULT_BR );\
|
||||
eyezm_h264_default_evbr = (const char *)config.Item( ZM_EYEZM_H264_DEFAULT_EVBR );\
|
||||
eyezm_h264_timeout = (const char *)config.Item( ZM_EYEZM_H264_TIMEOUT );\
|
||||
eyezm_seg_duration = (const char *)config.Item( ZM_EYEZM_SEG_DURATION );\
|
||||
|
||||
|
Loading…
Reference in New Issue