Logo Search packages:      
Sourcecode: zoneminder version File versions  Download package

zm_config_defines.h

// 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_DIR_IMAGES 7
#define ZM_DIR_SOUNDS 8
#define ZM_PATH_ZMS 9
#define ZM_CAN_STREAM 10
#define ZM_STREAM_METHOD 11
#define ZM_COLOUR_JPEG_FILES 12
#define ZM_ADD_JPEG_COMMENTS 13
#define ZM_JPEG_FILE_QUALITY 14
#define ZM_JPEG_IMAGE_QUALITY 15
#define ZM_MPEG_TIMED_FRAMES 16
#define ZM_MPEG_LIVE_FORMAT 17
#define ZM_MPEG_REPLAY_FORMAT 18
#define ZM_RAND_STREAM 19
#define ZM_OPT_CAMBOZOLA 20
#define ZM_PATH_CAMBOZOLA 21
#define ZM_TIMESTAMP_ON_CAPTURE 22
#define ZM_LOCAL_BGR_INVERT 23
#define ZM_Y_IMAGE_DELTAS 24
#define ZM_FAST_IMAGE_BLENDS 25
#define ZM_OPT_ADAPTIVE_SKIP 26
#define ZM_BLEND_ALARMED_IMAGES 27
#define ZM_MAX_SUSPEND_TIME 28
#define ZM_OPT_REMOTE_CAMERAS 29
#define ZM_NETCAM_REGEXPS 30
#define ZM_HTTP_VERSION 31
#define ZM_HTTP_UA 32
#define ZM_HTTP_TIMEOUT 33
#define ZM_OPT_MPEG 34
#define ZM_PATH_MPEG_ENCODE 35
#define ZM_PATH_FFMPEG 36
#define ZM_FFMPEG_INPUT_OPTIONS 37
#define ZM_FFMPEG_OUTPUT_OPTIONS 38
#define ZM_FFMPEG_FORMATS 39
#define ZM_OPT_NETPBM 40
#define ZM_PATH_NETPBM 41
#define ZM_RECORD_EVENT_STATS 42
#define ZM_RECORD_DIAG_IMAGES 43
#define ZM_EXTRA_DEBUG 44
#define ZM_EXTRA_DEBUG_TARGET 45
#define ZM_EXTRA_DEBUG_LEVEL 46
#define ZM_EXTRA_DEBUG_LOG 47
#define ZM_PATH_SOCKS 48
#define ZM_PATH_LOGS 49
#define ZM_WEB_TITLE_PREFIX 50
#define ZM_WEB_RESIZE_CONSOLE 51
#define ZM_WEB_POPUP_ON_ALARM 52
#define ZM_OPT_X10 53
#define ZM_X10_DEVICE 54
#define ZM_X10_HOUSE_CODE 55
#define ZM_X10_DB_RELOAD_INTERVAL 56
#define ZM_WEB_SOUND_ON_ALARM 57
#define ZM_WEB_ALARM_SOUND 58
#define ZM_WEB_COMPACT_MONTAGE 59
#define ZM_WEB_MONTAGE_MAX_COLS 60
#define ZM_WEB_MONTAGE_WIDTH 61
#define ZM_WEB_MONTAGE_HEIGHT 62
#define ZM_OPT_FAST_DELETE 63
#define ZM_STRICT_VIDEO_CONFIG 64
#define ZM_SIGNAL_CHECK_POINTS 65
#define ZM_SIGNAL_CHECK_COLOUR 66
#define ZM_CAPTURES_PER_FRAME 67
#define ZM_FILTER_RELOAD_DELAY 68
#define ZM_FILTER_EXECUTE_INTERVAL 69
#define ZM_OPT_UPLOAD 70
#define ZM_UPLOAD_ARCH_FORMAT 71
#define ZM_UPLOAD_ARCH_COMPRESS 72
#define ZM_UPLOAD_ARCH_ANALYSE 73
#define ZM_UPLOAD_FTP_HOST 74
#define ZM_UPLOAD_FTP_USER 75
#define ZM_UPLOAD_FTP_PASS 76
#define ZM_UPLOAD_FTP_LOC_DIR 77
#define ZM_UPLOAD_FTP_REM_DIR 78
#define ZM_UPLOAD_FTP_TIMEOUT 79
#define ZM_UPLOAD_FTP_PASSIVE 80
#define ZM_UPLOAD_FTP_DEBUG 81
#define ZM_OPT_EMAIL 82
#define ZM_EMAIL_ADDRESS 83
#define ZM_EMAIL_TEXT 84
#define ZM_EMAIL_SUBJECT 85
#define ZM_EMAIL_BODY 86
#define ZM_OPT_MESSAGE 87
#define ZM_MESSAGE_ADDRESS 88
#define ZM_MESSAGE_TEXT 89
#define ZM_MESSAGE_SUBJECT 90
#define ZM_MESSAGE_BODY 91
#define ZM_NEW_MAIL_MODULES 92
#define ZM_EMAIL_HOST 93
#define ZM_FROM_EMAIL 94
#define ZM_URL 95
#define ZM_MAX_RESTART_DELAY 96
#define ZM_WATCH_CHECK_INTERVAL 97
#define ZM_WATCH_MAX_DELAY 98
#define ZM_RUN_AUDIT 99
#define ZM_AUDIT_CHECK_INTERVAL 100
#define ZM_FORCED_ALARM_SCORE 101
#define ZM_BULK_FRAME_INTERVAL 102
#define ZM_FORCE_CLOSE_EVENTS 103
#define ZM_CREATE_ANALYSIS_IMAGES 104
#define ZM_WEIGHTED_ALARM_CENTRES 105
#define ZM_EVENT_IMAGE_DIGITS 106
#define ZM_OPT_FRAME_SERVER 107
#define ZM_FRAME_SOCKET_SIZE 108
#define ZM_OPT_CONTROL 109
#define ZM_OPT_TRIGGERS 110
#define ZM_CHECK_FOR_UPDATES 111
#define ZM_UPDATE_CHECK_PROXY 112
#define ZM_SHM_KEY 113
#define ZM_WEB_REFRESH_METHOD 114
#define ZM_WEB_DOUBLE_BUFFER 115
#define ZM_WEB_EVENT_SORT_FIELD 116
#define ZM_WEB_EVENT_SORT_ORDER 117
#define ZM_WEB_EVENTS_PER_PAGE 118
#define ZM_WEB_FRAMES_PER_LINE 119
#define ZM_WEB_FRAME_LINES 120
#define ZM_WEB_LIST_THUMBS 121
#define ZM_WEB_LIST_THUMB_WIDTH 122
#define ZM_WEB_LIST_THUMB_HEIGHT 123
#define ZM_WEB_USE_OBJECT_TAGS 124
#define ZM_WEB_H_REFRESH_MAIN 125
#define ZM_WEB_H_REFRESH_CYCLE 126
#define ZM_WEB_H_REFRESH_IMAGE 127
#define ZM_WEB_H_REFRESH_STATUS 128
#define ZM_WEB_H_REFRESH_EVENTS 129
#define ZM_WEB_H_DEFAULT_SCALE 130
#define ZM_WEB_H_DEFAULT_RATE 131
#define ZM_WEB_H_VIDEO_BITRATE 132
#define ZM_WEB_H_VIDEO_MAXFPS 133
#define ZM_WEB_H_SCALE_THUMBS 134
#define ZM_WEB_H_USE_STREAMS 135
#define ZM_WEB_H_EVENTS_VIEW 136
#define ZM_WEB_H_SHOW_PROGRESS 137
#define ZM_WEB_M_REFRESH_MAIN 138
#define ZM_WEB_M_REFRESH_CYCLE 139
#define ZM_WEB_M_REFRESH_IMAGE 140
#define ZM_WEB_M_REFRESH_STATUS 141
#define ZM_WEB_M_REFRESH_EVENTS 142
#define ZM_WEB_M_DEFAULT_SCALE 143
#define ZM_WEB_M_DEFAULT_RATE 144
#define ZM_WEB_M_VIDEO_BITRATE 145
#define ZM_WEB_M_VIDEO_MAXFPS 146
#define ZM_WEB_M_SCALE_THUMBS 147
#define ZM_WEB_M_USE_STREAMS 148
#define ZM_WEB_M_EVENTS_VIEW 149
#define ZM_WEB_M_SHOW_PROGRESS 150
#define ZM_WEB_L_REFRESH_MAIN 151
#define ZM_WEB_L_REFRESH_CYCLE 152
#define ZM_WEB_L_REFRESH_IMAGE 153
#define ZM_WEB_L_REFRESH_STATUS 154
#define ZM_WEB_L_REFRESH_EVENTS 155
#define ZM_WEB_L_DEFAULT_SCALE 156
#define ZM_WEB_L_DEFAULT_RATE 157
#define ZM_WEB_L_VIDEO_BITRATE 158
#define ZM_WEB_L_VIDEO_MAXFPS 159
#define ZM_WEB_L_SCALE_THUMBS 160
#define ZM_WEB_L_USE_STREAMS 161
#define ZM_WEB_L_EVENTS_VIEW 162
#define ZM_WEB_L_SHOW_PROGRESS 163
#define ZM_WEB_P_DEFAULT_RATE 164
#define ZM_WEB_P_SCALE_THUMBS 165
#define ZM_DYN_LAST_VERSION 166
#define ZM_DYN_CURR_VERSION 167
#define ZM_DYN_DB_VERSION 168
#define ZM_DYN_LAST_CHECK 169
#define ZM_DYN_NEXT_REMINDER 170
#define ZM_DYN_DONATE_REMINDER_TIME 171
#define ZM_DYN_SHOW_DONATE_REMINDER 172


#define ZM_MAX_CFG_ID 172

#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;\
      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_image_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;\
      const char *opt_mpeg;\
      const char *path_mpeg_encode;\
      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_socks;\
      const char *path_logs;\
      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;\
      int web_montage_max_cols;\
      int web_montage_width;\
      int web_montage_height;\
      bool opt_fast_delete;\
      bool strict_video_config;\
      int signal_check_points;\
      int signal_check_colour;\
      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;\
      bool force_close_events;\
      bool create_analysis_images;\
      bool weighted_alarm_centres;\
      int event_image_digits;\
      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;\
      bool web_double_buffer;\
      const char *web_event_sort_field;\
      const char *web_event_sort_order;\
      int web_events_per_page;\
      int web_frames_per_line;\
      int web_frame_lines;\
      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_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_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_p_default_rate;\
      bool web_p_scale_thumbs;\
      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 );\
      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_image_quality = (int)config.Item( ZM_JPEG_IMAGE_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 );\
      opt_mpeg = (const char *)config.Item( ZM_OPT_MPEG );\
      path_mpeg_encode = (const char *)config.Item( ZM_PATH_MPEG_ENCODE );\
      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_socks = (const char *)config.Item( ZM_PATH_SOCKS );\
      path_logs = (const char *)config.Item( ZM_PATH_LOGS );\
      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 );\
      web_montage_max_cols = (int)config.Item( ZM_WEB_MONTAGE_MAX_COLS );\
      web_montage_width = (int)config.Item( ZM_WEB_MONTAGE_WIDTH );\
      web_montage_height = (int)config.Item( ZM_WEB_MONTAGE_HEIGHT );\
      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 );\
      signal_check_colour = (int)config.Item( ZM_SIGNAL_CHECK_COLOUR );\
      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 );\
      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 );\
      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_double_buffer = (bool)config.Item( ZM_WEB_DOUBLE_BUFFER );\
      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_frames_per_line = (int)config.Item( ZM_WEB_FRAMES_PER_LINE );\
      web_frame_lines = (int)config.Item( ZM_WEB_FRAME_LINES );\
      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_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_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_p_default_rate = (int)config.Item( ZM_WEB_P_DEFAULT_RATE );\
      web_p_scale_thumbs = (bool)config.Item( ZM_WEB_P_SCALE_THUMBS );\
      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 );\



Generated by  Doxygen 1.6.0   Back to index