From e1f43887266c7e197ad89f7cba456dfc096b5c9e Mon Sep 17 00:00:00 2001 From: levb <1187448+levb@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:57:13 +0000 Subject: [PATCH] [skip ci] Update docs: 9f72071: Moved micro_args to examples (#731) --- doc/html/annotated.html | 141 +- doc/html/annotated_dup.js | 1 + doc/html/bc_sd.png | Bin 635 -> 0 bytes doc/html/classes.html | 48 +- doc/html/clipboard.js | 61 - doc/html/cookie.js | 58 - doc/html/customdoxygen.css | 0 doc/html/deprecated.html | 40 +- .../dir_085924db4bed469054a9264cf96b0d5e.html | 44 +- .../dir_085924db4bed469054a9264cf96b0d5e.js | 5 - .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 48 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.js | 6 - doc/html/doc.svg | 12 - doc/html/docd.png | Bin 756 -> 0 bytes doc/html/docd.svg | 12 - doc/html/doxygen.svg | 4 +- doc/html/doxygen_crawl.html | 250 - doc/html/dynsections.js | 261 +- doc/html/files.html | 50 +- doc/html/files_dup.js | 5 +- doc/html/folderclosed.svg | 11 - doc/html/folderclosedd.svg | 11 - doc/html/folderopen.svg | 17 - doc/html/folderopend.svg | 12 - doc/html/functions.html | 90 +- doc/html/functions_b.html | 58 +- doc/html/functions_c.html | 100 +- doc/html/functions_d.html | 127 +- doc/html/functions_e.html | 109 +- doc/html/functions_f.html | 64 +- doc/html/functions_h.html | 55 +- doc/html/functions_i.html | 59 +- doc/html/functions_k.html | 45 +- doc/html/functions_l.html | 84 +- doc/html/functions_m.html | 177 +- doc/html/functions_n.html | 104 +- doc/html/functions_o.html | 55 +- doc/html/functions_p.html | 77 +- doc/html/functions_q.html | 41 +- doc/html/functions_r.html | 65 +- doc/html/functions_s.html | 153 +- doc/html/functions_t.html | 79 +- doc/html/functions_v.html | 43 +- doc/html/functions_vars.html | 92 +- doc/html/functions_vars_b.html | 60 +- doc/html/functions_vars_c.html | 102 +- doc/html/functions_vars_d.html | 129 +- doc/html/functions_vars_e.html | 111 +- doc/html/functions_vars_f.html | 66 +- doc/html/functions_vars_h.html | 57 +- doc/html/functions_vars_i.html | 61 +- doc/html/functions_vars_k.html | 47 +- doc/html/functions_vars_l.html | 86 +- doc/html/functions_vars_m.html | 179 +- doc/html/functions_vars_n.html | 106 +- doc/html/functions_vars_o.html | 57 +- doc/html/functions_vars_p.html | 79 +- doc/html/functions_vars_q.html | 43 +- doc/html/functions_vars_r.html | 67 +- doc/html/functions_vars_s.html | 155 +- doc/html/functions_vars_t.html | 81 +- doc/html/functions_vars_v.html | 45 +- doc/html/functions_vars_w.html | 43 +- doc/html/functions_w.html | 41 +- doc/html/globals.html | 1086 +++- doc/html/globals_defs.html | 125 +- doc/html/globals_enum.html | 81 +- doc/html/globals_eval.html | 839 ++- doc/html/globals_func.html | 253 +- doc/html/globals_func_k.html | 211 +- doc/html/globals_func_m.html | 215 +- doc/html/globals_func_n.html | 755 ++- doc/html/globals_func_s.html | 203 +- doc/html/globals_k.html | 265 +- doc/html/globals_m.html | 327 +- doc/html/globals_n.html | 1029 ++- doc/html/globals_s.html | 233 +- doc/html/globals_type.html | 426 +- doc/html/globals_vars.html | 106 + doc/html/group__callbacks_group.html | 186 +- doc/html/group__callbacks_group.js | 2 +- doc/html/group__conn_group.html | 50 +- doc/html/group__conn_mgt_group.html | 517 +- doc/html/group__conn_pub_group.html | 259 +- doc/html/group__conn_sub_group.html | 215 +- doc/html/group__env_variables_group.html | 38 +- doc/html/group__func_group.html | 74 +- doc/html/group__inbox_group.html | 64 +- doc/html/group__js_assets_group.html | 874 ++- doc/html/group__js_assets_group.js | 2 + doc/html/group__js_group.html | 98 +- doc/html/group__js_msg.html | 216 +- doc/html/group__js_pub_group.html | 224 +- doc/html/group__js_sub_group.html | 268 +- doc/html/group__kv_entry.html | 166 +- doc/html/group__kv_entry.js | 8 +- doc/html/group__kv_group.html | 522 +- doc/html/group__kv_group.js | 2 +- doc/html/group__kv_group_mgt.html | 133 +- doc/html/group__kv_status.html | 121 +- doc/html/group__kv_status.js | 2 +- doc/html/group__kv_watcher.html | 88 +- doc/html/group__libevent_functions.html | 131 +- doc/html/group__library_group.html | 259 +- doc/html/group__library_group.js | 4 +- doc/html/group__libuv_functions.html | 142 +- doc/html/group__micro_callbacks.html | 68 +- doc/html/group__micro_callbacks.js | 2 +- doc/html/group__micro_cleanup_functions.html | 62 +- doc/html/group__micro_client_functions.html | 109 +- doc/html/group__micro_client_functions.js | 4 +- doc/html/group__micro_constants.html | 120 +- doc/html/group__micro_error_functions.html | 206 +- doc/html/group__micro_error_functions.js | 10 +- doc/html/group__micro_functions.html | 56 +- doc/html/group__micro_group.html | 54 +- doc/html/group__micro_group_functions.html | 93 +- doc/html/group__micro_group_functions.js | 4 +- doc/html/group__micro_request_functions.html | 425 +- doc/html/group__micro_request_functions.js | 34 +- doc/html/group__micro_service_functions.html | 265 +- doc/html/group__micro_service_functions.js | 20 +- doc/html/group__micro_structs.html | 40 +- doc/html/group__micro_types.html | 235 +- doc/html/group__micro_types.js | 4 +- doc/html/group__msg_group.html | 311 +- doc/html/group__msg_group.js | 6 +- doc/html/group__opts_group.html | 1249 ++-- doc/html/group__stan_conn_group.html | 50 +- doc/html/group__stan_conn_mgt_group.html | 139 +- doc/html/group__stan_conn_opts_group.html | 231 +- doc/html/group__stan_conn_pub_group.html | 96 +- doc/html/group__stan_conn_sub_group.html | 105 +- doc/html/group__stan_msg_group.html | 112 +- doc/html/group__stan_msg_group.js | 2 +- doc/html/group__stan_sub_group.html | 120 +- doc/html/group__stan_sub_opts_group.html | 221 +- doc/html/group__stats_group.html | 95 +- doc/html/group__status_group.html | 55 +- doc/html/group__status_group.js | 2 +- doc/html/group__sub_group.html | 485 +- doc/html/group__sub_group.js | 2 +- doc/html/group__types_group.html | 748 +-- doc/html/group__types_group.js | 13 +- doc/html/group__wildcards_group.html | 38 +- doc/html/index.html | 41 +- doc/html/index.js | 7 - doc/html/jquery.js | 11 +- doc/html/libevent_8h.html | 60 +- doc/html/libevent_8h_source.html | 445 +- doc/html/libuv_8h.html | 64 +- doc/html/libuv_8h_source.html | 959 ++- doc/html/menu.js | 99 +- doc/html/menudata.js | 3 +- doc/html/minus.svg | 8 - doc/html/minusd.svg | 8 - doc/html/modules.html | 81 +- doc/html/nats_8h.html | 2002 +++--- doc/html/nats_8h.js | 119 +- doc/html/nats_8h_source.html | 5514 ++++++++--------- doc/html/nav_fd.png | Bin 169 -> 0 bytes doc/html/nav_hd.png | Bin 114 -> 0 bytes doc/html/navtree.css | 23 +- doc/html/navtree.js | 828 +-- doc/html/navtreedata.js | 20 +- doc/html/navtreeindex0.js | 206 +- doc/html/navtreeindex1.js | 426 +- doc/html/navtreeindex2.js | 500 +- doc/html/navtreeindex3.js | 500 +- doc/html/navtreeindex4.js | 421 +- doc/html/navtreeindex5.js | 253 + doc/html/navtreeindex6.js | 185 + doc/html/pages.html | 38 +- doc/html/plus.svg | 9 - doc/html/plusd.svg | 9 - doc/html/resize.js | 123 +- doc/html/search/all_0.html | 37 + doc/html/search/all_0.js | 17 +- doc/html/search/all_1.html | 37 + doc/html/search/all_1.js | 18 +- doc/html/search/all_10.html | 37 + doc/html/search/all_10.js | 7 +- doc/html/search/all_11.html | 37 + doc/html/search/all_11.js | 96 +- doc/html/search/all_12.html | 37 + doc/html/search/all_12.js | 93 +- doc/html/search/all_13.html | 37 + doc/html/search/all_13.js | 13 +- doc/html/search/all_14.html | 37 + doc/html/search/all_14.js | 4 +- doc/html/search/all_15.html | 37 + doc/html/search/all_15.js | 4 +- doc/html/search/all_2.html | 37 + doc/html/search/all_2.js | 22 +- doc/html/search/all_3.html | 37 + doc/html/search/all_3.js | 35 +- doc/html/search/all_4.html | 37 + doc/html/search/all_4.js | 41 +- doc/html/search/all_5.html | 37 + doc/html/search/all_5.js | 27 +- doc/html/search/all_6.html | 37 + doc/html/search/all_6.js | 11 +- doc/html/search/all_7.html | 37 + doc/html/search/all_7.js | 12 +- doc/html/search/all_8.html | 37 + doc/html/search/all_8.js | 272 +- doc/html/search/all_9.html | 37 + doc/html/search/all_9.js | 333 +- doc/html/search/all_a.html | 37 + doc/html/search/all_a.js | 79 +- doc/html/search/all_b.html | 37 + doc/html/search/all_b.js | 130 +- doc/html/search/all_c.html | 37 + doc/html/search/all_c.js | 378 +- doc/html/search/all_d.html | 37 + doc/html/search/all_d.js | 268 +- doc/html/search/all_e.html | 37 + doc/html/search/all_e.js | 15 +- doc/html/search/all_f.html | 37 + doc/html/search/all_f.js | 15 +- doc/html/search/classes_0.html | 37 + doc/html/search/classes_0.js | 83 +- doc/html/search/classes_1.html | 37 + doc/html/search/classes_1.js | 10 +- doc/html/search/classes_2.html | 37 + doc/html/search/classes_2.js | 12 +- doc/html/search/classes_3.html | 37 + doc/html/search/classes_3.js | 4 +- doc/html/search/close.svg | 19 +- doc/html/search/defines_0.html | 37 + doc/html/search/defines_0.js | 18 +- doc/html/search/defines_1.html | 37 + doc/html/search/defines_1.js | 4 +- doc/html/search/enums_0.html | 37 + doc/html/search/enums_0.js | 16 +- doc/html/search/enums_1.html | 37 + doc/html/search/enums_1.js | 2 +- doc/html/search/enums_2.html | 37 + doc/html/search/enums_2.js | 4 +- doc/html/search/enumvalues_0.html | 37 + doc/html/search/enumvalues_0.js | 302 +- doc/html/search/enumvalues_1.html | 37 + doc/html/search/enumvalues_1.js | 8 +- doc/html/search/enumvalues_2.html | 37 + doc/html/search/enumvalues_2.js | 88 +- doc/html/search/files_0.html | 37 + doc/html/search/files_0.js | 4 +- doc/html/search/files_1.html | 37 + doc/html/search/files_1.js | 2 +- doc/html/search/files_2.html | 37 + doc/html/search/files_2.js | 2 +- doc/html/search/functions_0.html | 37 + doc/html/search/functions_0.js | 106 +- doc/html/search/functions_1.html | 37 + doc/html/search/functions_1.js | 86 +- doc/html/search/functions_2.html | 37 + doc/html/search/functions_2.js | 88 +- doc/html/search/functions_3.html | 37 + doc/html/search/functions_3.js | 358 +- doc/html/search/functions_4.html | 37 + doc/html/search/functions_4.js | 82 +- doc/html/search/groups_0.html | 37 + doc/html/search/groups_0.js | 4 +- doc/html/search/groups_1.html | 37 + doc/html/search/groups_1.js | 6 +- doc/html/search/groups_2.html | 37 + doc/html/search/groups_2.js | 4 +- doc/html/search/groups_3.html | 37 + doc/html/search/groups_3.js | 2 +- doc/html/search/groups_4.html | 37 + doc/html/search/groups_4.js | 3 +- doc/html/search/groups_5.html | 37 + doc/html/search/groups_5.js | 7 +- doc/html/search/groups_6.html | 37 + doc/html/search/groups_6.js | 8 +- doc/html/search/groups_7.html | 37 + doc/html/search/groups_7.js | 12 +- doc/html/search/groups_8.html | 37 + doc/html/search/groups_8.js | 13 +- doc/html/search/groups_9.html | 37 + doc/html/search/groups_9.js | 4 +- doc/html/search/groups_a.html | 37 + doc/html/search/groups_a.js | 12 +- doc/html/search/groups_b.html | 37 + doc/html/search/groups_b.js | 18 +- doc/html/search/groups_c.html | 37 + doc/html/search/groups_c.js | 2 +- doc/html/search/groups_d.js | 4 - doc/html/search/groups_e.js | 5 - doc/html/search/mag.svg | 24 - doc/html/search/mag_d.svg | 24 - doc/html/search/mag_sel.svg | 53 +- doc/html/search/mag_seld.svg | 31 - doc/html/search/nomatches.html | 13 + doc/html/search/pages_0.html | 37 + doc/html/search/pages_0.js | 3 +- doc/html/search/pages_1.html | 37 + doc/html/search/pages_1.js | 2 +- doc/html/search/pages_2.js | 4 - doc/html/search/pages_3.js | 4 - doc/html/search/search.css | 122 +- doc/html/search/search.js | 1018 +-- doc/html/search/search_l.png | Bin 0 -> 567 bytes doc/html/search/search_m.png | Bin 0 -> 158 bytes doc/html/search/search_r.png | Bin 0 -> 553 bytes doc/html/search/searchdata.js | 6 +- doc/html/search/typedefs_0.html | 37 + doc/html/search/typedefs_0.js | 81 +- doc/html/search/typedefs_1.html | 37 + doc/html/search/typedefs_1.js | 18 +- doc/html/search/typedefs_2.html | 37 + doc/html/search/typedefs_2.js | 32 +- doc/html/search/typedefs_3.html | 37 + doc/html/search/typedefs_3.js | 42 +- doc/html/search/typedefs_4.html | 37 + doc/html/search/typedefs_4.js | 16 +- doc/html/search/variables_0.html | 37 + doc/html/search/variables_0.js | 26 +- doc/html/search/variables_1.html | 37 + doc/html/search/variables_1.js | 10 +- doc/html/search/variables_10.html | 37 + doc/html/search/variables_10.js | 46 +- doc/html/search/variables_11.html | 37 + doc/html/search/variables_11.js | 20 +- doc/html/search/variables_12.html | 37 + doc/html/search/variables_12.js | 2 +- doc/html/search/variables_13.html | 37 + doc/html/search/variables_13.js | 2 +- doc/html/search/variables_2.html | 37 + doc/html/search/variables_2.js | 22 +- doc/html/search/variables_3.html | 37 + doc/html/search/variables_3.js | 40 +- doc/html/search/variables_4.html | 37 + doc/html/search/variables_4.js | 34 +- doc/html/search/variables_5.html | 37 + doc/html/search/variables_5.js | 12 +- doc/html/search/variables_6.html | 37 + doc/html/search/variables_6.js | 8 +- doc/html/search/variables_7.html | 37 + doc/html/search/variables_7.js | 10 +- doc/html/search/variables_8.html | 37 + doc/html/search/variables_8.js | 4 +- doc/html/search/variables_9.html | 37 + doc/html/search/variables_9.js | 20 +- doc/html/search/variables_a.html | 37 + doc/html/search/variables_a.js | 64 +- doc/html/search/variables_b.html | 37 + doc/html/search/variables_b.js | 26 +- doc/html/search/variables_c.html | 37 + doc/html/search/variables_c.js | 8 +- doc/html/search/variables_d.html | 37 + doc/html/search/variables_d.js | 17 +- doc/html/search/variables_e.html | 37 + doc/html/search/variables_e.js | 2 +- doc/html/search/variables_f.html | 37 + doc/html/search/variables_f.js | 12 +- doc/html/splitbard.png | Bin 282 -> 0 bytes doc/html/status_8h.html | 852 ++- doc/html/status_8h_source.html | 905 ++- doc/html/structjs_a_p_i_stats-members.html | 40 +- doc/html/structjs_a_p_i_stats.html | 52 +- doc/html/structjs_account_info-members.html | 46 +- doc/html/structjs_account_info.html | 94 +- doc/html/structjs_account_limits-members.html | 46 +- doc/html/structjs_account_limits.html | 88 +- doc/html/structjs_cluster_info-members.html | 42 +- doc/html/structjs_cluster_info.html | 64 +- .../structjs_consumer_config-members.html | 73 +- doc/html/structjs_consumer_config.html | 259 +- doc/html/structjs_consumer_config.js | 3 +- doc/html/structjs_consumer_info-members.html | 52 +- doc/html/structjs_consumer_info.html | 147 +- doc/html/structjs_consumer_info.js | 4 +- .../structjs_consumer_info_list-members.html | 40 +- doc/html/structjs_consumer_info_list.html | 52 +- .../structjs_consumer_names_list-members.html | 40 +- doc/html/structjs_consumer_names_list.html | 52 +- ...uctjs_consumer_pause_response-members.html | 108 + .../structjs_consumer_pause_response.html | 169 + doc/html/structjs_consumer_pause_response.js | 6 + ...js_consumer_sequence_mismatch-members.html | 40 +- .../structjs_consumer_sequence_mismatch.html | 64 +- ...ructjs_direct_get_msg_options-members.html | 40 +- doc/html/structjs_direct_get_msg_options.html | 64 +- .../structjs_external_stream-members.html | 40 +- doc/html/structjs_external_stream.html | 52 +- doc/html/structjs_fetch_request-members.html | 42 +- doc/html/structjs_fetch_request.html | 80 +- .../structjs_lost_stream_data-members.html | 40 +- doc/html/structjs_lost_stream_data.html | 58 +- doc/html/structjs_msg_meta_data-members.html | 44 +- doc/html/structjs_msg_meta_data.html | 82 +- doc/html/structjs_options-members.html | 42 +- doc/html/structjs_options.html | 80 +- ...s_1_1js_options_publish_async-members.html | 44 +- ...s_options_1_1js_options_publish_async.html | 88 +- ..._options_1_1js_options_stream-members.html | 40 +- ...structjs_options_1_1js_options_stream.html | 58 +- ...eam_1_1js_options_stream_info-members.html | 40 +- ...ions_stream_1_1js_options_stream_info.html | 56 +- ...am_1_1js_options_stream_purge-members.html | 40 +- ...ons_stream_1_1js_options_stream_purge.html | 64 +- doc/html/structjs_peer_info-members.html | 42 +- doc/html/structjs_peer_info.html | 70 +- doc/html/structjs_placement-members.html | 40 +- doc/html/structjs_placement.html | 58 +- doc/html/structjs_pub_ack-members.html | 42 +- doc/html/structjs_pub_ack.html | 64 +- doc/html/structjs_pub_ack_err-members.html | 42 +- doc/html/structjs_pub_ack_err.html | 64 +- doc/html/structjs_pub_options-members.html | 44 +- doc/html/structjs_pub_options.html | 96 +- doc/html/structjs_re_publish-members.html | 40 +- doc/html/structjs_re_publish.html | 58 +- doc/html/structjs_sequence_info-members.html | 40 +- doc/html/structjs_sequence_info.html | 60 +- doc/html/structjs_sequence_pair-members.html | 40 +- doc/html/structjs_sequence_pair.html | 52 +- .../structjs_stream_alternate-members.html | 40 +- doc/html/structjs_stream_alternate.html | 58 +- doc/html/structjs_stream_config-members.html | 72 +- doc/html/structjs_stream_config.html | 252 +- ...ructjs_stream_consumer_limits-members.html | 40 +- doc/html/structjs_stream_consumer_limits.html | 52 +- doc/html/structjs_stream_info-members.html | 46 +- doc/html/structjs_stream_info.html | 96 +- .../structjs_stream_info_list-members.html | 40 +- doc/html/structjs_stream_info_list.html | 52 +- .../structjs_stream_names_list-members.html | 40 +- doc/html/structjs_stream_names_list.html | 52 +- doc/html/structjs_stream_source-members.html | 44 +- doc/html/structjs_stream_source.html | 78 +- .../structjs_stream_source_info-members.html | 44 +- doc/html/structjs_stream_source_info.html | 82 +- doc/html/structjs_stream_state-members.html | 50 +- doc/html/structjs_stream_state.html | 122 +- ...structjs_stream_state_subject-members.html | 40 +- doc/html/structjs_stream_state_subject.html | 52 +- ...tructjs_stream_state_subjects-members.html | 40 +- doc/html/structjs_stream_state_subjects.html | 52 +- doc/html/structjs_sub_options-members.html | 44 +- doc/html/structjs_sub_options.html | 88 +- ...ctjs_subject_transform_config-members.html | 40 +- .../structjs_subject_transform_config.html | 52 +- doc/html/structjs_tier-members.html | 44 +- doc/html/structjs_tier.html | 76 +- doc/html/structkv_config-members.html | 50 +- doc/html/structkv_config.html | 112 +- doc/html/structkv_entry_list-members.html | 40 +- doc/html/structkv_entry_list.html | 54 +- doc/html/structkv_keys_list-members.html | 40 +- doc/html/structkv_keys_list.html | 54 +- doc/html/structkv_purge_options-members.html | 40 +- doc/html/structkv_purge_options.html | 52 +- doc/html/structkv_watch_options-members.html | 42 +- doc/html/structkv_watch_options.html | 66 +- ...uctmicro__endpoint__config__s-members.html | 42 +- .../structmicro__endpoint__config__s.html | 80 +- ...tructmicro__endpoint__info__s-members.html | 40 +- doc/html/structmicro__endpoint__info__s.html | 62 +- ...ructmicro__endpoint__stats__s-members.html | 46 +- doc/html/structmicro__endpoint__stats__s.html | 100 +- ...ructmicro__service__config__s-members.html | 46 +- doc/html/structmicro__service__config__s.html | 118 +- ...structmicro__service__info__s-members.html | 46 +- doc/html/structmicro__service__info__s.html | 104 +- ...tructmicro__service__stats__s-members.html | 44 +- doc/html/structmicro__service__stats__s.html | 96 +- doc/html/structnats_metadata-members.html | 40 +- doc/html/structnats_metadata.html | 54 +- doc/html/structnats_msg_list-members.html | 40 +- doc/html/structnats_msg_list.html | 54 +- doc/html/tab_ad.png | Bin 135 -> 0 bytes doc/html/tab_bd.png | Bin 173 -> 0 bytes doc/html/tab_hd.png | Bin 180 -> 0 bytes doc/html/tab_sd.png | Bin 188 -> 0 bytes doc/html/tabs.css | 2 +- doc/html/topics.html | 162 - doc/html/topics.js | 11 - 479 files changed, 29107 insertions(+), 21967 deletions(-) delete mode 100644 doc/html/bc_sd.png delete mode 100644 doc/html/clipboard.js delete mode 100644 doc/html/cookie.js mode change 100755 => 100644 doc/html/customdoxygen.css delete mode 100644 doc/html/dir_085924db4bed469054a9264cf96b0d5e.js delete mode 100644 doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js delete mode 100644 doc/html/doc.svg delete mode 100644 doc/html/docd.png delete mode 100644 doc/html/docd.svg delete mode 100644 doc/html/doxygen_crawl.html delete mode 100644 doc/html/folderclosed.svg delete mode 100644 doc/html/folderclosedd.svg delete mode 100644 doc/html/folderopen.svg delete mode 100644 doc/html/folderopend.svg create mode 100644 doc/html/globals_vars.html delete mode 100644 doc/html/index.js delete mode 100644 doc/html/minus.svg delete mode 100644 doc/html/minusd.svg delete mode 100644 doc/html/nav_fd.png delete mode 100644 doc/html/nav_hd.png create mode 100644 doc/html/navtreeindex5.js create mode 100644 doc/html/navtreeindex6.js delete mode 100644 doc/html/plus.svg delete mode 100644 doc/html/plusd.svg create mode 100644 doc/html/search/all_0.html create mode 100644 doc/html/search/all_1.html create mode 100644 doc/html/search/all_10.html create mode 100644 doc/html/search/all_11.html create mode 100644 doc/html/search/all_12.html create mode 100644 doc/html/search/all_13.html create mode 100644 doc/html/search/all_14.html create mode 100644 doc/html/search/all_15.html create mode 100644 doc/html/search/all_2.html create mode 100644 doc/html/search/all_3.html create mode 100644 doc/html/search/all_4.html create mode 100644 doc/html/search/all_5.html create mode 100644 doc/html/search/all_6.html create mode 100644 doc/html/search/all_7.html create mode 100644 doc/html/search/all_8.html create mode 100644 doc/html/search/all_9.html create mode 100644 doc/html/search/all_a.html create mode 100644 doc/html/search/all_b.html create mode 100644 doc/html/search/all_c.html create mode 100644 doc/html/search/all_d.html create mode 100644 doc/html/search/all_e.html create mode 100644 doc/html/search/all_f.html create mode 100644 doc/html/search/classes_0.html create mode 100644 doc/html/search/classes_1.html create mode 100644 doc/html/search/classes_2.html create mode 100644 doc/html/search/classes_3.html create mode 100644 doc/html/search/defines_0.html create mode 100644 doc/html/search/defines_1.html create mode 100644 doc/html/search/enums_0.html create mode 100644 doc/html/search/enums_1.html create mode 100644 doc/html/search/enums_2.html create mode 100644 doc/html/search/enumvalues_0.html create mode 100644 doc/html/search/enumvalues_1.html create mode 100644 doc/html/search/enumvalues_2.html create mode 100644 doc/html/search/files_0.html create mode 100644 doc/html/search/files_1.html create mode 100644 doc/html/search/files_2.html create mode 100644 doc/html/search/functions_0.html create mode 100644 doc/html/search/functions_1.html create mode 100644 doc/html/search/functions_2.html create mode 100644 doc/html/search/functions_3.html create mode 100644 doc/html/search/functions_4.html create mode 100644 doc/html/search/groups_0.html create mode 100644 doc/html/search/groups_1.html create mode 100644 doc/html/search/groups_2.html create mode 100644 doc/html/search/groups_3.html create mode 100644 doc/html/search/groups_4.html create mode 100644 doc/html/search/groups_5.html create mode 100644 doc/html/search/groups_6.html create mode 100644 doc/html/search/groups_7.html create mode 100644 doc/html/search/groups_8.html create mode 100644 doc/html/search/groups_9.html create mode 100644 doc/html/search/groups_a.html create mode 100644 doc/html/search/groups_b.html create mode 100644 doc/html/search/groups_c.html delete mode 100644 doc/html/search/groups_d.js delete mode 100644 doc/html/search/groups_e.js delete mode 100644 doc/html/search/mag.svg delete mode 100644 doc/html/search/mag_d.svg delete mode 100644 doc/html/search/mag_seld.svg create mode 100644 doc/html/search/nomatches.html create mode 100644 doc/html/search/pages_0.html create mode 100644 doc/html/search/pages_1.html delete mode 100644 doc/html/search/pages_2.js delete mode 100644 doc/html/search/pages_3.js create mode 100644 doc/html/search/search_l.png create mode 100644 doc/html/search/search_m.png create mode 100644 doc/html/search/search_r.png create mode 100644 doc/html/search/typedefs_0.html create mode 100644 doc/html/search/typedefs_1.html create mode 100644 doc/html/search/typedefs_2.html create mode 100644 doc/html/search/typedefs_3.html create mode 100644 doc/html/search/typedefs_4.html create mode 100644 doc/html/search/variables_0.html create mode 100644 doc/html/search/variables_1.html create mode 100644 doc/html/search/variables_10.html create mode 100644 doc/html/search/variables_11.html create mode 100644 doc/html/search/variables_12.html create mode 100644 doc/html/search/variables_13.html create mode 100644 doc/html/search/variables_2.html create mode 100644 doc/html/search/variables_3.html create mode 100644 doc/html/search/variables_4.html create mode 100644 doc/html/search/variables_5.html create mode 100644 doc/html/search/variables_6.html create mode 100644 doc/html/search/variables_7.html create mode 100644 doc/html/search/variables_8.html create mode 100644 doc/html/search/variables_9.html create mode 100644 doc/html/search/variables_a.html create mode 100644 doc/html/search/variables_b.html create mode 100644 doc/html/search/variables_c.html create mode 100644 doc/html/search/variables_d.html create mode 100644 doc/html/search/variables_e.html create mode 100644 doc/html/search/variables_f.html delete mode 100644 doc/html/splitbard.png create mode 100644 doc/html/structjs_consumer_pause_response-members.html create mode 100644 doc/html/structjs_consumer_pause_response.html create mode 100644 doc/html/structjs_consumer_pause_response.js delete mode 100644 doc/html/tab_ad.png delete mode 100644 doc/html/tab_bd.png delete mode 100644 doc/html/tab_hd.png delete mode 100644 doc/html/tab_sd.png delete mode 100644 doc/html/topics.html delete mode 100644 doc/html/topics.js diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 427072e5d..be1be1390 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -4,7 +4,7 @@
- +
NATS C Client with JetStream and Streaming support
- 3.8.0
+ 3.9.0-beta
The nats.io C Client, Supported by Synadia Communications Inc.
|
@@ -36,22 +35,21 @@
+Files | libevent.h | | | libuv.h | | file | libevent.h [code] | file | libuv.h [code] |
+Directories | adapters | | directory | adapters |
+Files | nats.h | | | status.h | | file | nats.h [code] | file | status.h [code] |
Attempts to connect to a NATS Server
.
This call supports multiple comma separated URLs. If more than one is specified, it behaves as if you were using a natsOptions object and called natsOptions_SetServers() with the equivalent array of URLs. The list is randomized before the connect sequence starts.
-nc | the location where to store the pointer to the newly created natsConnection object. |
urls | the URL to connect to, or the list of URLs to chose from. If NULL this call is equivalent to natsConnection_ConnectTo() with NATS_DEFAULT_URL |
urls | the URL to connect to, or the list of URLs to chose from. If NULL this call is equivalent to natsConnection_ConnectTo() with NATS_DEFAULT_URL |
Performs a round trip to the server and return when it receives the internal reply, or if the call times-out (timeout is expressed in milliseconds).
-See possible failure case described in natsConnection_Flush().
+See possible failure case described in natsConnection_Flush().
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc | ) | +natsConnection * | +nc | ) |
Unlike natsConnection_GetServers, this function only returns the list of servers that have been discovered after the a connection has been established (with servers version 0.9.2 and above).
+Unlike natsConnection_GetServers, this function only returns the list of servers that have been discovered after the a connection has been established (with servers version 0.9.2 and above).
No credential information is included in any of the server URLs returned by this call.
If you want to use any of these URLs to connect to a server that requires authentication, you will need to use natsOptions_SetUserInfo or natsOptions_SetToken.
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc, | +natsConnection * | +nc, |
- | int64_t | timeout ) | +int64_t | +timeout | +|
+ | ) | +
Identical to natsConnection_Drain but the timeout can be specified here.
+Identical to natsConnection_Drain but the timeout can be specified here.
The value is expressed in milliseconds. Zero or negative value means that the operation will not timeout.
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc, | +natsConnection * | +nc, |
- | const unsigned char * | message, | +const unsigned char * | +message, | |
- | int | messageLen, | +int | +messageLen, | |
- | unsigned char | sig[64] ) | +unsigned char | +sig[64] | +|
+ | ) | +
When a connection is created to the server, the server identifies the connection's remote IP address and return it back to the client.
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc, | +natsConnection * | +nc, |
- | int64_t * | rtt ) | +int64_t * | +rtt | +|
+ | ) | +
Unlike natsConnection_GetClientIP, this function returns the connection's local IP and port.
+Unlike natsConnection_GetClientIP, this function returns the connection's local IP and port.
( | -natsConnection * | nc | ) | +natsConnection * | +nc | ) |
Closes the connection to the server. This call will release all blocking calls, such as natsConnection_Flush() and natsSubscription_NextMsg(). The connection object is still usable until the call to natsConnection_Destroy().
+Closes the connection to the server. This call will release all blocking calls, such as natsConnection_Flush() and natsSubscription_NextMsg(). The connection object is still usable until the call to natsConnection_Destroy().
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc | ) | +natsConnection * | +nc | ) |
+FunctionsNATS_EXTERN natsStatus | natsConnection_Publish (natsConnection *nc, const char *subj, const void *data, int dataLen) | | Publishes data on a subject. | NATS_EXTERN natsStatus | natsConnection_Publish (natsConnection *nc, const char *subj, const void *data, int dataLen) | | NATS_EXTERN natsStatus | natsConnection_PublishString (natsConnection *nc, const char *subj, const char *str) | | Publishes a string on a subject. | NATS_EXTERN natsStatus | natsConnection_PublishString (natsConnection *nc, const char *subj, const char *str) | | NATS_EXTERN natsStatus | natsConnection_PublishMsg (natsConnection *nc, natsMsg *msg) | | Publishes a message on a subject. | NATS_EXTERN natsStatus | natsConnection_PublishMsg (natsConnection *nc, natsMsg *msg) | | NATS_EXTERN natsStatus | natsConnection_PublishRequest (natsConnection *nc, const char *subj, const char *reply, const void *data, int dataLen) | | Publishes data on a subject expecting replies on the given reply. | NATS_EXTERN natsStatus | natsConnection_PublishRequest (natsConnection *nc, const char *subj, const char *reply, const void *data, int dataLen) | | NATS_EXTERN natsStatus | natsConnection_PublishRequestString (natsConnection *nc, const char *subj, const char *reply, const char *str) | | Publishes a string on a subject expecting replies on the given reply. | NATS_EXTERN natsStatus | natsConnection_PublishRequestString (natsConnection *nc, const char *subj, const char *reply, const char *str) | | NATS_EXTERN natsStatus | natsConnection_Request (natsMsg **replyMsg, natsConnection *nc, const char *subj, const void *data, int dataLen, int64_t timeout) | | Sends a request and waits for a reply. | NATS_EXTERN natsStatus | natsConnection_Request (natsMsg **replyMsg, natsConnection *nc, const char *subj, const void *data, int dataLen, int64_t timeout) | | NATS_EXTERN natsStatus | natsConnection_RequestString (natsMsg **replyMsg, natsConnection *nc, const char *subj, const char *str, int64_t timeout) | | Sends a request (as a string) and waits for a reply. | NATS_EXTERN natsStatus | natsConnection_RequestString (natsMsg **replyMsg, natsConnection *nc, const char *subj, const char *str, int64_t timeout) | | NATS_EXTERN natsStatus | natsConnection_RequestMsg (natsMsg **replyMsg, natsConnection *nc, natsMsg *requestMsg, int64_t timeout) | | Sends a request based on the given | requestMsg and waits for a reply. NATS_EXTERN natsStatus | natsConnection_RequestMsg (natsMsg **replyMsg, natsConnection *nc, natsMsg *requestMsg, int64_t timeout) | | Publishes data on a subject. More... | Publishes a string on a subject. More... | Publishes a message on a subject. More... | Publishes data on a subject expecting replies on the given reply. More... | Publishes a string on a subject expecting replies on the given reply. More... | Sends a request and waits for a reply. More... | Sends a request (as a string) and waits for a reply. More... | Sends a request based on the given requestMsg and waits for a reply. More... |
Publishing functions
Convenient function to publish a string. This call is equivalent to:
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc, | +natsConnection * | +nc, |
- | natsMsg * | msg ) | +natsMsg * | +msg | +|
+ | ) | +
Publishes the data argument to the given subject expecting a response on the reply subject. Use natsConnection_Request() for automatically waiting for a response inline.
+Publishes the data argument to the given subject expecting a response on the reply subject. Use natsConnection_Request() for automatically waiting for a response inline.
nc | the pointer to the natsConnection object. | ( | -natsConnection * | nc, | +natsConnection * | +nc, |
- | const char * | subj, | +const char * | +subj, | |
- | const char * | reply, | +const char * | +reply, | |
- | const char * | str ) | +const char * | +str | +|
+ | ) | +
Convenient function to send a request as a string. This call is equivalent to:
replyMsg | the location where to store the pointer to the received natsMsg reply. | ( | -natsMsg ** | replyMsg, | +natsMsg ** | +replyMsg, |
- | natsConnection * | nc, | +natsConnection * | +nc, | |
- | natsMsg * | requestMsg, | +natsMsg * | +requestMsg, | |
- | int64_t | timeout ) | +int64_t | +timeout | +|
+ | ) | +
Similar to natsConnection_Request but uses requestMsg
to extract subject, and payload to send.
Similar to natsConnection_Request but uses requestMsg
to extract subject, and payload to send.
replyMsg | the location where to store the pointer to the received natsMsg reply. |
NATS C Client with JetStream and Streaming support
- 3.8.0
+ 3.9.0-beta
The nats.io C Client, Supported by Synadia Communications Inc.
|
@@ -36,22 +35,21 @@
+FunctionsNATS_EXTERN natsStatus | natsConnection_Subscribe (natsSubscription **sub, natsConnection *nc, const char *subject, natsMsgHandler cb, void *cbClosure) | | Creates an asynchronous subscription. | NATS_EXTERN natsStatus | natsConnection_Subscribe (natsSubscription **sub, natsConnection *nc, const char *subject, natsMsgHandler cb, void *cbClosure) | | NATS_EXTERN natsStatus | natsConnection_SubscribeTimeout (natsSubscription **sub, natsConnection *nc, const char *subject, int64_t timeout, natsMsgHandler cb, void *cbClosure) | | Creates an asynchronous subscription with a timeout. | NATS_EXTERN natsStatus | natsConnection_SubscribeTimeout (natsSubscription **sub, natsConnection *nc, const char *subject, int64_t timeout, natsMsgHandler cb, void *cbClosure) | | NATS_EXTERN natsStatus | natsConnection_SubscribeSync (natsSubscription **sub, natsConnection *nc, const char *subject) | | Creates a synchronous subcription. | NATS_EXTERN natsStatus | natsConnection_SubscribeSync (natsSubscription **sub, natsConnection *nc, const char *subject) | | NATS_EXTERN natsStatus | natsConnection_QueueSubscribe (natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, natsMsgHandler cb, void *cbClosure) | | Creates an asynchronous queue subscriber. | NATS_EXTERN natsStatus | natsConnection_QueueSubscribe (natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, natsMsgHandler cb, void *cbClosure) | | NATS_EXTERN natsStatus | natsConnection_QueueSubscribeTimeout (natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, int64_t timeout, natsMsgHandler cb, void *cbClosure) | | Creates an asynchronous queue subscriber with a timeout. | NATS_EXTERN natsStatus | natsConnection_QueueSubscribeTimeout (natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, int64_t timeout, natsMsgHandler cb, void *cbClosure) | | NATS_EXTERN natsStatus | natsConnection_QueueSubscribeSync (natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup) | | Creates a synchronous queue subscriber. | NATS_EXTERN natsStatus | natsConnection_QueueSubscribeSync (natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup) | | Creates an asynchronous subscription. More... | Creates an asynchronous subscription with a timeout. More... | Creates a synchronous subcription. More... | Creates an asynchronous queue subscriber. More... | Creates an asynchronous queue subscriber with a timeout. More... | Creates a synchronous queue subscriber. More... |
Subscribing functions.
Similar to natsConnection_Subscribe, but creates a synchronous subscription that can be polled via natsSubscription_NextMsg().
+Similar to natsConnection_Subscribe, but creates a synchronous subscription that can be polled via natsSubscription_NextMsg().
sub | the location where to store the pointer to the newly created natsSubscription object. | ( | -natsSubscription ** | sub, | +natsSubscription ** | +sub, |
- | natsConnection * | nc, | +natsConnection * | +nc, | |
- | const char * | subject, | +const char * | +subject, | |
- | const char * | queueGroup, | +const char * | +queueGroup, | |
- | natsMsgHandler | cb, | +natsMsgHandler | +cb, | |
- | void * | cbClosure ) | +void * | +cbClosure | +|
+ | ) | +
Similar to natsConnection_QueueSubscribe, but creates a synchronous subscription that can be polled via natsSubscription_NextMsg().
+Similar to natsConnection_QueueSubscribe, but creates a synchronous subscription that can be polled via natsSubscription_NextMsg().
sub | the location where to store the pointer to the newly created natsSubscription object. |
NATS C Client with JetStream and Streaming support
- 3.8.0
+ 3.9.0-beta
The nats.io C Client, Supported by Synadia Communications Inc.
|
@@ -36,22 +35,21 @@
You will find here the environment variables that change the default behavior of the NATS C Client library.
diff --git a/doc/html/group__func_group.html b/doc/html/group__func_group.html
index bc062d1bf..a692d355f 100644
--- a/doc/html/group__func_group.html
+++ b/doc/html/group__func_group.html
@@ -4,7 +4,7 @@
-Topics | |
Library | |
+Modules | |
Library | |
Status | |
Status | |
Statistics | |
Statistics | |
Options | |
Options | |
Streaming Connection Options | |
Streaming Connection Options | |
Streaming Subscription Options | |
Streaming Subscription Options | |
Inboxes | |
Inboxes | |
Message | |
Message | |
Streaming Message | |
Streaming Message | |
Connection | |
Connection | |
Subscription | |
Subscription | |
Streaming Connection | |
Streaming Connection | |
Streaming Subscription | |
Streaming Subscription | |
JetStream | |
JetStream | |
KeyValue store | |
KeyValue store | |
+FunctionsNATS_EXTERN natsStatus | natsInbox_Create (natsInbox **newInbox) | | Creates an inbox. | NATS_EXTERN natsStatus | natsInbox_Create (natsInbox **newInbox) | | NATS_EXTERN void | natsInbox_Destroy (natsInbox *inbox) | | Destroys the inbox. | NATS_EXTERN void | natsInbox_Destroy (natsInbox *inbox) | | Creates an inbox. More... | Destroys the inbox. More... |
NATS Inboxes.
Returns an inbox string which can be used for directed replies from subscribers. These are guaranteed to be unique, but can be shared and subscribed to by others.
newInbox | the location where to store a pointer to the newly created natsInbox. | ( | -natsInbox * | inbox | ) | +natsInbox * | +inbox | ) |
+FunctionsNATS_EXTERN natsStatus | jsStreamConfig_Init (jsStreamConfig *cfg) | | Initializes a streaming configuration structure. | NATS_EXTERN natsStatus | jsStreamConfig_Init (jsStreamConfig *cfg) | | NATS_EXTERN natsStatus | jsPlacement_Init (jsPlacement *placement) | | Initializes a placement configuration structure. | NATS_EXTERN natsStatus | jsPlacement_Init (jsPlacement *placement) | | NATS_EXTERN natsStatus | jsStreamSource_Init (jsStreamSource *source) | | Initializes a stream source configuration structure. | NATS_EXTERN natsStatus | jsStreamSource_Init (jsStreamSource *source) | | NATS_EXTERN natsStatus | jsExternalStream_Init (jsExternalStream *external) | | Initializes an external stream configuration structure. | NATS_EXTERN natsStatus | jsExternalStream_Init (jsExternalStream *external) | | NATS_EXTERN natsStatus | jsRePublish_Init (jsRePublish *rp) | | Initializes a republish structure. | NATS_EXTERN natsStatus | jsRePublish_Init (jsRePublish *rp) | | NATS_EXTERN natsStatus | js_AddStream (jsStreamInfo **si, jsCtx *js, jsStreamConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | Creates a stream. | NATS_EXTERN natsStatus | js_AddStream (jsStreamInfo **si, jsCtx *js, jsStreamConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_UpdateStream (jsStreamInfo **si, jsCtx *js, jsStreamConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | Updates a stream. | NATS_EXTERN natsStatus | js_UpdateStream (jsStreamInfo **si, jsCtx *js, jsStreamConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_PurgeStream (jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | Purges a stream. | NATS_EXTERN natsStatus | js_PurgeStream (jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_DeleteStream (jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | Deletes a stream. | NATS_EXTERN natsStatus | js_DeleteStream (jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_GetMsg (natsMsg **msg, jsCtx *js, const char *stream, uint64_t seq, jsOptions *opts, jsErrCode *errCode) | | Retrieves a JetStream message from the stream by sequence. | NATS_EXTERN natsStatus | js_GetMsg (natsMsg **msg, jsCtx *js, const char *stream, uint64_t seq, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_GetLastMsg (natsMsg **msg, jsCtx *js, const char *stream, const char *subject, jsOptions *opts, jsErrCode *errCode) | | Retrieves the last JetStream message from the stream for a given subject. | NATS_EXTERN natsStatus | js_GetLastMsg (natsMsg **msg, jsCtx *js, const char *stream, const char *subject, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | jsDirectGetMsgOptions_Init (jsDirectGetMsgOptions *opts) | | Initializes a direct get message options structure. | NATS_EXTERN natsStatus | jsDirectGetMsgOptions_Init (jsDirectGetMsgOptions *opts) | | NATS_EXTERN natsStatus | js_DirectGetMsg (natsMsg **msg, jsCtx *js, const char *stream, jsOptions *opts, jsDirectGetMsgOptions *dgOpts) | | Retrieves directly a JetStream message based on provided options. | NATS_EXTERN natsStatus | js_DirectGetMsg (natsMsg **msg, jsCtx *js, const char *stream, jsOptions *opts, jsDirectGetMsgOptions *dgOpts) | | NATS_EXTERN natsStatus | js_DeleteMsg (jsCtx *js, const char *stream, uint64_t seq, jsOptions *opts, jsErrCode *errCode) | | Deletes a message from the stream. | NATS_EXTERN natsStatus | js_DeleteMsg (jsCtx *js, const char *stream, uint64_t seq, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_EraseMsg (jsCtx *js, const char *stream, uint64_t seq, jsOptions *opts, jsErrCode *errCode) | | Erases a message from the stream. | NATS_EXTERN natsStatus | js_EraseMsg (jsCtx *js, const char *stream, uint64_t seq, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_GetStreamInfo (jsStreamInfo **si, jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | Retreives information from a stream. | NATS_EXTERN natsStatus | js_GetStreamInfo (jsStreamInfo **si, jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsStreamInfo_Destroy (jsStreamInfo *si) | | Destroys the stream information object. | NATS_EXTERN void | jsStreamInfo_Destroy (jsStreamInfo *si) | | NATS_EXTERN natsStatus | js_Streams (jsStreamInfoList **list, jsCtx *js, jsOptions *opts, jsErrCode *errCode) | | Retrieves the list of all available streams. | NATS_EXTERN natsStatus | js_Streams (jsStreamInfoList **list, jsCtx *js, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsStreamInfoList_Destroy (jsStreamInfoList *list) | | Destroys the stream information list object. | NATS_EXTERN void | jsStreamInfoList_Destroy (jsStreamInfoList *list) | | NATS_EXTERN natsStatus | js_StreamNames (jsStreamNamesList **list, jsCtx *js, jsOptions *opts, jsErrCode *errCode) | | Retrieves the list of all available stream names. | NATS_EXTERN natsStatus | js_StreamNames (jsStreamNamesList **list, jsCtx *js, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsStreamNamesList_Destroy (jsStreamNamesList *list) | | Destroys the stream names list object. | NATS_EXTERN void | jsStreamNamesList_Destroy (jsStreamNamesList *list) | | NATS_EXTERN natsStatus | jsConsumerConfig_Init (jsConsumerConfig *cc) | | Initializes a consumer configuration structure. | NATS_EXTERN natsStatus | jsConsumerConfig_Init (jsConsumerConfig *cc) | | NATS_EXTERN natsStatus | js_AddConsumer (jsConsumerInfo **ci, jsCtx *js, const char *stream, jsConsumerConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | Adds a JetStream consumer. | NATS_EXTERN natsStatus | js_AddConsumer (jsConsumerInfo **ci, jsCtx *js, const char *stream, jsConsumerConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_UpdateConsumer (jsConsumerInfo **ci, jsCtx *js, const char *stream, jsConsumerConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | Updates a JetStream consumer. | NATS_EXTERN natsStatus | js_UpdateConsumer (jsConsumerInfo **ci, jsCtx *js, const char *stream, jsConsumerConfig *cfg, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_GetConsumerInfo (jsConsumerInfo **ci, jsCtx *js, const char *stream, const char *consumer, jsOptions *opts, jsErrCode *errCode) | | Retrieves information about a consumer. | NATS_EXTERN natsStatus | js_GetConsumerInfo (jsConsumerInfo **ci, jsCtx *js, const char *stream, const char *consumer, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_DeleteConsumer (jsCtx *js, const char *stream, const char *consumer, jsOptions *opts, jsErrCode *errCode) | | Deletes a consumer. | NATS_EXTERN natsStatus | js_DeleteConsumer (jsCtx *js, const char *stream, const char *consumer, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsConsumerInfo_Destroy (jsConsumerInfo *ci) | | Destroys the consumer information object. | NATS_EXTERN natsStatus | js_PauseConsumer (jsConsumerPauseResponse **new_cpr, jsCtx *js, const char *stream, const char *consumer, uint64_t pauseUntil, jsOptions *opts, jsErrCode *errCode) | | Pauses a consumer. More... | | NATS_EXTERN void | jsConsumerPauseResponse_Destroy (jsConsumerPauseResponse *cpr) | | Destroys the PauseConsumer response object. More... | | NATS_EXTERN void | jsConsumerInfo_Destroy (jsConsumerInfo *ci) | | NATS_EXTERN natsStatus | js_Consumers (jsConsumerInfoList **list, jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | Retrieves the list of all available consumers for a stream. | NATS_EXTERN natsStatus | js_Consumers (jsConsumerInfoList **list, jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsConsumerInfoList_Destroy (jsConsumerInfoList *list) | | Destroys the consumer information list object. | NATS_EXTERN void | jsConsumerInfoList_Destroy (jsConsumerInfoList *list) | | NATS_EXTERN natsStatus | js_ConsumerNames (jsConsumerNamesList **list, jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | Retrieves the list of all available consumer names for a stream. | NATS_EXTERN natsStatus | js_ConsumerNames (jsConsumerNamesList **list, jsCtx *js, const char *stream, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsConsumerNamesList_Destroy (jsConsumerNamesList *list) | | Destroys the consumer names list object. | NATS_EXTERN void | jsConsumerNamesList_Destroy (jsConsumerNamesList *list) | | NATS_EXTERN natsStatus | js_GetAccountInfo (jsAccountInfo **ai, jsCtx *js, jsOptions *opts, jsErrCode *errCode) | | Retrieves information about the JetStream usage from an account. | NATS_EXTERN natsStatus | js_GetAccountInfo (jsAccountInfo **ai, jsCtx *js, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsAccountInfo_Destroy (jsAccountInfo *ai) | | Destroys the account information object. | NATS_EXTERN void | jsAccountInfo_Destroy (jsAccountInfo *ai) | | Initializes a streaming configuration structure. More... | Initializes a placement configuration structure. More... | Initializes a stream source configuration structure. More... | Initializes an external stream configuration structure. More... | Initializes a republish structure. More... | Creates a stream. More... | Updates a stream. More... | Purges a stream. More... | Deletes a stream. More... | Retrieves a JetStream message from the stream by sequence. More... | Retrieves the last JetStream message from the stream for a given subject. More... | Initializes a direct get message options structure. More... | Retrieves directly a JetStream message based on provided options. More... | Deletes a message from the stream. More... | Erases a message from the stream. More... | Retreives information from a stream. More... | Destroys the stream information object. More... | Retrieves the list of all available streams. More... | Destroys the stream information list object. More... | Retrieves the list of all available stream names. More... | Destroys the stream names list object. More... | Initializes a consumer configuration structure. More... | Adds a JetStream consumer. More... | Updates a JetStream consumer. More... | Retrieves information about a consumer. More... | Deletes a consumer. More... | Destroys the consumer information object. More... | Retrieves the list of all available consumers for a stream. More... | Destroys the consumer information list object. More... | Retrieves the list of all available consumer names for a stream. More... | Destroys the consumer names list object. More... | Retrieves information about the JetStream usage from an account. More... | Destroys the account information object. More... |
JetStream Assets Management
Creates a stream based on the provided configuration (that cannot be NULL
). The name is mandatory and cannot contain .
characters.
NULL
, otherwise, on success you are responsible for freeing this object.si | the location where to store the pointer to the new jsStreamInfo object in response to the creation request, or NULL if the stream information is not needed. | ( | -jsStreamInfo ** | si, | +jsStreamInfo ** | +si, |
- | jsCtx * | js, | +jsCtx * | +js, | |
- | jsStreamConfig * | cfg, | +jsStreamConfig * | +cfg, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
Updates a stream based on the provided configuration (that cannot be NULL
). The name is mandatory and cannot contain .
characters.
NULL
, otherwise, on success you are responsible for freeing this object.si | the location where to store the pointer to the new jsStreamInfo object in response to the creation request, or NULL if the stream information is not needed. | ( | -jsCtx * | js, | +jsCtx * | +js, |
- | const char * | stream, | +const char * | +stream, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
Retrieves a raw stream message stored in JetStream by sequence number.
Retrieves the last JetStream message from the stream for a given subject.
Use this before setting specific direct get message options and passing it to js_DirectGetMsg API.
+Use this before setting specific direct get message options and passing it to js_DirectGetMsg API.
opts | the pointer to the jsDirectGetMsgOptions object. | ( | -natsMsg ** | msg, | +natsMsg ** | +msg, |
- | jsCtx * | js, | +jsCtx * | +js, | |
- | const char * | stream, | +const char * | +stream, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsDirectGetMsgOptions * | dgOpts ) | +jsDirectGetMsgOptions * | +dgOpts | +|
+ | ) | +
If a stream is created with AllowDirect
, it is possible to retrieve a message without going through the leader.
To specify the options, call jsDirectGetMsgOptions_Init first and the set the appropriate options, then invoke this function.
+To specify the options, call jsDirectGetMsgOptions_Init first and the set the appropriate options, then invoke this function.
v2.9.0+
. If running against an older server the call will likely timeout.Deletes the message at sequence seq
in the stream named stream
.
js | the pointer to the jsCtx context. | ( | -jsCtx * | js, | +jsCtx * | +js, |
- | const char * | stream, | +const char * | +stream, | |
- | uint64_t | seq, | +uint64_t | +seq, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
Similar to js_DeleteMsg except that the content of the deleted message is erased from stable storage.
-Similar to js_DeleteMsg except that the content of the deleted message is erased from stable storage.
+js | the pointer to the jsCtx context. | ( | -jsStreamInfo ** | si, | +jsStreamInfo ** | +si, |
- | jsCtx * | js, | +jsCtx * | +js, | |
- | const char * | stream, | +const char * | +stream, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
si | the location where to store the pointer to the new jsStreamInfo object in response to the creation request. | ( | -jsStreamInfo * | si | ) | +jsStreamInfo * | +si | ) |
Retrieves the list of all jsStreamInfo. It is possible to filter which streams are to be retrieved based on a subject filter.
-list | the location where to store the pointer to the new jsStreamInfoList object. | ( | -jsStreamInfoList * | list | ) | +jsStreamInfoList * | +list | ) |
Retrieves the list of all stream names. It is possible to filter which streams are to be retrieved based on a subject filter.
-list | the location where to store the pointer to the new jsStreamNamesList object. | ( | -jsStreamNamesList * | list | ) | +jsStreamNamesList * | +list | ) |
Adds a consumer based on the provided configuration (that cannot be NULL
).
NULL
, otherwise, on success you are responsible for freeing this object.ci | the location where to store the pointer to the new jsConsumerInfo object in response to the creation request, or NULL if the consumer information is not needed. | ( | -jsConsumerInfo ** | ci, | +jsConsumerInfo ** | +ci, |
- | jsCtx * | js, | +jsCtx * | +js, | |
- | const char * | stream, | +const char * | +stream, | |
- | jsConsumerConfig * | cfg, | +jsConsumerConfig * | +cfg, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
Updates a consumer based on the provided configuration (that cannot be NULL
).
NULL
, otherwise, on success you are responsible for freeing this object.ci | the location where to store the pointer to the new jsConsumerInfo object in response to the creation request, or NULL if the consumer information is not needed. | ( | -jsConsumerInfo ** | ci, | +jsConsumerInfo ** | +ci, |
- | jsCtx * | js, | +jsCtx * | +js, | |
- | const char * | stream, | +const char * | +stream, | |
- | const char * | consumer, | +const char * | +consumer, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
ci | the location where to store the pointer to the new jsConsumerInfo object. | ( | -jsCtx * | js, | +jsCtx * | +js, |
- | const char * | stream, | +const char * | +stream, | |
- | const char * | consumer, | +const char * | +consumer, | |
- | jsOptions * | opts, | +jsOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
NATS_EXTERN natsStatus js_PauseConsumer | +( | +jsConsumerPauseResponse ** | +new_cpr, | +
+ | + | jsCtx * | +js, | +
+ | + | const char * | +stream, | +
+ | + | const char * | +consumer, | +
+ | + | uint64_t | +pauseUntil, | +
+ | + | jsOptions * | +opts, | +
+ | + | jsErrCode * | +errCode | +
+ | ) | ++ |
Pauses the consumer named consumer
on stream named stream
.
new_cpr | if not NULL, will receive the response of the operation. |
js | the pointer to the jsCtx context. |
stream | the name of the stream. |
consumer | the name of the consumer. |
pauseUntil | the time in nanoseconds since the Unix epoch to pause the consumer until. |
opts | the pointer to the jsOptions object, possibly NULL . |
errCode | the location where to store the JetStream specific error code, or NULL if not needed. |
NATS_EXTERN void jsConsumerPauseResponse_Destroy | +( | +jsConsumerPauseResponse * | +cpr | ) | ++ |
Releases memory allocated for this object.
+cpr | the pointer to the jsConsumerPauseResponse object. |
Retrieves the list of all jsConsumerInfo for a given stream.
-list | the location where to store the pointer to the new jsConsumerInfoList object. | ( | -jsConsumerInfoList * | list | ) | +jsConsumerInfoList * | +list | ) |
Retrieves the list of all consumer names for a given stream.
-list | the location where to store the pointer to the new jsConsumerNamesList object. | ( | -jsConsumerNamesList * | list | ) | +jsConsumerNamesList * | +list | ) |
Retrieves information about the JetStream usage from an account.
-ai | the location where to store the pointer to the new jsAccountInfo object in response to the account information request. | ( | -jsAccountInfo * | ai | ) | +jsAccountInfo * | +ai | ) |
-Topics | |
JetStream Assets Management | |
+Modules | |
JetStream Assets Management | |
Publishing | |
Publishing | |
Subscribing | |
Subscribing | |
Messages | |
Messages | |
+FunctionsNATS_EXTERN natsStatus | jsOptions_Init (jsOptions *opts) | | Initializes a streaming context options structure. | NATS_EXTERN natsStatus | jsOptions_Init (jsOptions *opts) | | NATS_EXTERN natsStatus | natsConnection_JetStream (jsCtx **js, natsConnection *nc, jsOptions *opts) | | Returns a new JetStream context. | NATS_EXTERN natsStatus | natsConnection_JetStream (jsCtx **js, natsConnection *nc, jsOptions *opts) | | NATS_EXTERN void | jsCtx_Destroy (jsCtx *js) | | Destroys the JetStream context. | NATS_EXTERN void | jsCtx_Destroy (jsCtx *js) | | Initializes a streaming context options structure. More... | Returns a new JetStream context. More... | Destroys the JetStream context. More... |
JetStream.
+FunctionsNATS_EXTERN natsStatus | natsMsg_GetMetaData (jsMsgMetaData **new_meta, natsMsg *msg) | | Returns metadata from this JetStream message. | NATS_EXTERN natsStatus | natsMsg_GetMetaData (jsMsgMetaData **new_meta, natsMsg *msg) | | NATS_EXTERN void | jsMsgMetaData_Destroy (jsMsgMetaData *meta) | | Destroys the message metadata object. | NATS_EXTERN void | jsMsgMetaData_Destroy (jsMsgMetaData *meta) | | NATS_EXTERN natsStatus | natsMsg_Ack (natsMsg *msg, jsOptions *opts) | | Acknowledges a message. | NATS_EXTERN natsStatus | natsMsg_Ack (natsMsg *msg, jsOptions *opts) | | NATS_EXTERN natsStatus | natsMsg_AckSync (natsMsg *msg, jsOptions *opts, jsErrCode *errCode) | | Acknowledges a message and wait for a confirmation. | NATS_EXTERN natsStatus | natsMsg_AckSync (natsMsg *msg, jsOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | natsMsg_Nak (natsMsg *msg, jsOptions *opts) | | Negatively acknowledges a message. | NATS_EXTERN natsStatus | natsMsg_Nak (natsMsg *msg, jsOptions *opts) | | NATS_EXTERN natsStatus | natsMsg_NakWithDelay (natsMsg *msg, int64_t delay, jsOptions *opts) | | Negatively acknowledges a message. | NATS_EXTERN natsStatus | natsMsg_NakWithDelay (natsMsg *msg, int64_t delay, jsOptions *opts) | | NATS_EXTERN natsStatus | natsMsg_InProgress (natsMsg *msg, jsOptions *opts) | | Resets redelivery timer on the server. | NATS_EXTERN natsStatus | natsMsg_InProgress (natsMsg *msg, jsOptions *opts) | | NATS_EXTERN natsStatus | natsMsg_Term (natsMsg *msg, jsOptions *opts) | | Abandon this message. | NATS_EXTERN natsStatus | natsMsg_Term (natsMsg *msg, jsOptions *opts) | | NATS_EXTERN uint64_t | natsMsg_GetSequence (natsMsg *msg) | | Returns the sequence number of this JetStream message. | NATS_EXTERN uint64_t | natsMsg_GetSequence (natsMsg *msg) | | NATS_EXTERN int64_t | natsMsg_GetTime (natsMsg *msg) | | Returns the timestamp (in UTC) of this JetStream message. | NATS_EXTERN int64_t | natsMsg_GetTime (natsMsg *msg) | | Returns metadata from this JetStream message. More... | Destroys the message metadata object. More... | Acknowledges a message. More... | Acknowledges a message and wait for a confirmation. More... | Negatively acknowledges a message. More... | Negatively acknowledges a message. More... | Resets redelivery timer on the server. More... | Abandon this message. More... | Returns the sequence number of this JetStream message. More... | Returns the timestamp (in UTC) of this JetStream message. More... |
Function specific to JetStream messages
This works only for JetStream messages that have been received through a subscription callback or calling natsSubscription_NextMsg.
-This is the synchronous version of natsMsg_Ack. This indicates successful message processing, and waits for confirmation from the server that the acknowledgment has been processed.
+This is the synchronous version of natsMsg_Ack. This indicates successful message processing, and waits for confirmation from the server that the acknowledgment has been processed.
msg | the pointer to the natsMsg object. | ( | -natsMsg * | msg, | +natsMsg * | +msg, |
- | jsOptions * | opts ) | +jsOptions * | +opts | +|
+ | ) | +
+FunctionsNATS_EXTERN natsStatus | jsPubOptions_Init (jsPubOptions *opts) | | Initializes a publish options structure. | NATS_EXTERN natsStatus | jsPubOptions_Init (jsPubOptions *opts) | | NATS_EXTERN natsStatus | js_Publish (jsPubAck **pubAck, jsCtx *js, const char *subj, const void *data, int dataLen, jsPubOptions *opts, jsErrCode *errCode) | | Publishes data on a subject to JetStream. | NATS_EXTERN natsStatus | js_Publish (jsPubAck **pubAck, jsCtx *js, const char *subj, const void *data, int dataLen, jsPubOptions *opts, jsErrCode *errCode) | | NATS_EXTERN natsStatus | js_PublishMsg (jsPubAck **pubAck, jsCtx *js, natsMsg *msg, jsPubOptions *opts, jsErrCode *errCode) | | Publishes a message to JetStream. | NATS_EXTERN natsStatus | js_PublishMsg (jsPubAck **pubAck, jsCtx *js, natsMsg *msg, jsPubOptions *opts, jsErrCode *errCode) | | NATS_EXTERN void | jsPubAck_Destroy (jsPubAck *pubAck) | | Destroys the publish acknowledgment object. | NATS_EXTERN void | jsPubAck_Destroy (jsPubAck *pubAck) | | NATS_EXTERN natsStatus | js_PublishAsync (jsCtx *js, const char *subj, const void *data, int dataLen, jsPubOptions *opts) | | Publishes data to JetStream but does not wait for a jsPubAck. | NATS_EXTERN natsStatus | js_PublishAsync (jsCtx *js, const char *subj, const void *data, int dataLen, jsPubOptions *opts) | | NATS_EXTERN natsStatus | js_PublishMsgAsync (jsCtx *js, natsMsg **msg, jsPubOptions *opts) | | Publishes a message to JetStream but does not wait for a jsPubAck. | NATS_EXTERN natsStatus | js_PublishMsgAsync (jsCtx *js, natsMsg **msg, jsPubOptions *opts) | | NATS_EXTERN natsStatus | js_PublishAsyncComplete (jsCtx *js, jsPubOptions *opts) | | Wait for all outstanding messages to be acknowledged. | NATS_EXTERN natsStatus | js_PublishAsyncComplete (jsCtx *js, jsPubOptions *opts) | | NATS_EXTERN natsStatus | js_PublishAsyncGetPendingList (natsMsgList *pending, jsCtx *js) | | Returns the list of pending messages published asynchronously. | NATS_EXTERN natsStatus | js_PublishAsyncGetPendingList (natsMsgList *pending, jsCtx *js) | | Initializes a publish options structure. More... | Publishes data on a subject to JetStream. More... | Publishes a message to JetStream. More... | Destroys the publish acknowledgment object. More... | Publishes data to JetStream but does not wait for a jsPubAck. More... | Publishes a message to JetStream but does not wait for a jsPubAck. More... | Wait for all outstanding messages to be acknowledged. More... | Returns the list of pending messages published asynchronously. More... |
Publishing functions
Publishes the data to the given subject to JetStream.
-See js_PublishMsg for details.
+See js_PublishMsg for details.
pubAck | the location where to store the pub acknowledgment, or NULL if not needed. | ( | -jsPubAck ** | pubAck, | +jsPubAck ** | +pubAck, |
- | jsCtx * | js, | +jsCtx * | +js, | |
- | natsMsg * | msg, | +natsMsg * | +msg, | |
- | jsPubOptions * | opts, | +jsPubOptions * | +opts, | |
- | jsErrCode * | errCode ) | +jsErrCode * | +errCode | +|
+ | ) | +
Publishes the given message to JetStream.
NULL
, but keep in mind that the publish acknowledgment is still sent by the server. pubAck | the location where to store the pub acknowledgment, or NULL if not needed. | ( | -jsPubAck * | pubAck | ) | +jsPubAck * | +pubAck | ) |
See js_PublishMsgAsync for details.
+See js_PublishMsgAsync for details.
js | the pointer to the jsCtx object. | ( | -jsCtx * | js, | +jsCtx * | +js, |
- | natsMsg ** | msg, | +natsMsg ** | +msg, | |
- | jsPubOptions * | opts ) | +jsPubOptions * | +opts | +|
+ | ) | +
Publishes a message asynchronously to JetStream. User can call js_PublishAsyncComplete to be notified when all publish acknowledgments for the pending publish calls have been received.
+Publishes a message asynchronously to JetStream. User can call js_PublishAsyncComplete to be notified when all publish acknowledgments for the pending publish calls have been received.
NULL
.