tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit e1201fd34b0971d0fa61d0ce43e1e1105f4fad9d
parent 95bf265604bcb44857609c3f51a68dc68b707238
Author: Michael Froman <mfroman@mozilla.com>
Date:   Wed, 19 Nov 2025 15:55:27 +0000

Bug 2000995 - move vtbl related function declarations to registry_int.h r=bwc

This is a temporary step as we remove the use of the vtbl since it
is no longer needed.  Many of these will be removed.

Differential Revision: https://phabricator.services.mozilla.com/D273135

Diffstat:
Mdom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_int.h | 23+++++++++++++++++++++++
Mdom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_local.c | 22----------------------
2 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_int.h b/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_int.h @@ -84,4 +84,27 @@ int nr_reg_get_client(CLIENT **client); #define CALLBACK_SERVER_PORT 8082 #define CALLBACK_SERVER_BACKLOG 32 +int nr_reg_local_init(void); +int nr_reg_local_get_char(NR_registry name, char *data); +int nr_reg_local_get_uchar(NR_registry name, UCHAR *data); +int nr_reg_local_get_uint2(NR_registry name, UINT2 *data); +int nr_reg_local_get_int4(NR_registry name, INT4 *data); +int nr_reg_local_get_uint4(NR_registry name, UINT4 *data); +int nr_reg_local_get_uint8(NR_registry name, UINT8 *data); +int nr_reg_local_get_double(NR_registry name, double *data); +int nr_reg_local_get_registry(NR_registry name, NR_registry data); +int nr_reg_local_get_bytes(NR_registry name, UCHAR *data, size_t size, size_t *length); +int nr_reg_local_get_string(NR_registry name, char *data, size_t size); +int nr_reg_local_get_length(NR_registry name, size_t *len); +int nr_reg_local_set_char(NR_registry name, char data); +int nr_reg_local_set_uchar(NR_registry name, UCHAR data); +int nr_reg_local_set_int4(NR_registry name, INT4 data); +int nr_reg_local_set_uint4(NR_registry name, UINT4 data); +int nr_reg_local_set_string(NR_registry name, char *data); +int nr_reg_local_set_registry(NR_registry name); +int nr_reg_local_set_bytes(NR_registry name, UCHAR *data, size_t length); +int nr_reg_local_del(NR_registry name); +int nr_reg_local_get_child_count(NR_registry parent, size_t *count); +int nr_reg_local_get_children(NR_registry parent, NR_registry *data, size_t size, size_t *length); + #endif diff --git a/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_local.c b/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry_local.c @@ -99,28 +99,6 @@ typedef struct nr_array_registry_node_ { } array; } nr_array_registry_node; -static int nr_reg_local_init(void); -static int nr_reg_local_get_char(NR_registry name, char *data); -static int nr_reg_local_get_uchar(NR_registry name, UCHAR *data); -static int nr_reg_local_get_uint2(NR_registry name, UINT2 *data); -static int nr_reg_local_get_int4(NR_registry name, INT4 *data); -static int nr_reg_local_get_uint4(NR_registry name, UINT4 *data); -static int nr_reg_local_get_uint8(NR_registry name, UINT8 *data); -static int nr_reg_local_get_double(NR_registry name, double *data); -static int nr_reg_local_get_registry(NR_registry name, NR_registry data); -static int nr_reg_local_get_bytes(NR_registry name, UCHAR *data, size_t size, size_t *length); -static int nr_reg_local_get_string(NR_registry name, char *data, size_t size); -static int nr_reg_local_get_length(NR_registry name, size_t *len); -static int nr_reg_local_set_char(NR_registry name, char data); -static int nr_reg_local_set_uchar(NR_registry name, UCHAR data); -static int nr_reg_local_set_int4(NR_registry name, INT4 data); -static int nr_reg_local_set_uint4(NR_registry name, UINT4 data); -static int nr_reg_local_set_registry(NR_registry name); -static int nr_reg_local_set_bytes(NR_registry name, UCHAR *data, size_t length); -static int nr_reg_local_set_string(NR_registry name, char *data); -static int nr_reg_local_del(NR_registry name); -static int nr_reg_local_get_child_count(NR_registry parent, size_t *count); -static int nr_reg_local_get_children(NR_registry parent, NR_registry *data, size_t size, size_t *length); static int nr_reg_insert_node(char *name, void *node); static int nr_reg_change_node(char *name, void *node, void *old); static int nr_reg_get(char *name, int type, void *out);