[-]
[+]
|
Changed |
_service:tar_git:libgbinder.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -6,7 +6,7 @@
<service name="tar_git">
<param name="url">https://github.com/mer-hybris/libgbinder.git</param>
<param name="branch">master</param>
- <param name="revision">6d2f2efe310d0aaabc5c8e7eeabd8aa73d5be18e</param>
+ <param name="revision">5805290369453b5ad4ff4dbb30456989e3e97226</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:libgbinder-1.0.42.tar.bz2/debian/libgbinder-dev.install
^
|
@@ -1,3 +0,0 @@
-debian/tmp/usr/lib/libgbinder.so usr/lib
-include/*.h usr/include/gbinder
-build/libgbinder.pc usr/lib/pkgconfig
|
[-]
[+]
|
Deleted |
_service:tar_git:libgbinder-1.0.42.tar.bz2/debian/libgbinder.install
^
|
@@ -1 +0,0 @@
-debian/tmp/usr/lib/libgbinder.so.* usr/lib
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/.gitignore
^
|
@@ -1,13 +1,11 @@
*~
debian/files
-debian/libgbinder-dev.debhelper.log
-debian/libgbinder-dev.substvars
debian/libgbinder-dev
-debian/libgbinder.debhelper.log
-debian/libgbinder.postinst.debhelper
-debian/libgbinder.postrm.debhelper
-debian/libgbinder.substvars
debian/libgbinder
+debian/*.debhelper.log
+debian/*.debhelper
+debian/*.substvars
+debian/*.install
debian/tmp
documentation.list
installroot
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/Makefile
^
|
@@ -16,7 +16,7 @@
VERSION_MAJOR = 1
VERSION_MINOR = 0
-VERSION_RELEASE = 42
+VERSION_RELEASE = 43
# Version for pkg-config
PCVERSION = $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_RELEASE)
@@ -120,6 +120,7 @@
#
CC ?= $(CROSS_COMPILE)gcc
+STRIP ?= strip
LD = $(CC)
WARNINGS = -Wall -Wstrict-aliasing -Wunused-result
INCLUDES += -I$(INCLUDE_DIR)
@@ -132,10 +133,7 @@
RELEASE_FLAGS =
COVERAGE_FLAGS = -g
-ifndef KEEP_SYMBOLS
-KEEP_SYMBOLS = 0
-endif
-
+KEEP_SYMBOLS ?= 0
ifneq ($(KEEP_SYMBOLS),0)
RELEASE_FLAGS += -g
endif
@@ -233,6 +231,7 @@
rm -fr debian/tmp debian/libgbinder debian/libgbinder-dev
rm -f documentation.list debian/files debian/*.substvars
rm -f debian/*.debhelper.log debian/*.debhelper debian/*~
+ rm -f debian/*.install
test:
make -C unit test
@@ -264,7 +263,7 @@
$(RELEASE_SO): $(RELEASE_OBJS)
$(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
ifeq ($(KEEP_SYMBOLS),0)
- strip $@
+ $(STRIP) $@
endif
$(DEBUG_LIB): $(DEBUG_OBJS)
@@ -291,8 +290,19 @@
$(AR) rc $@ $?
ranlib $@
+#
+# LIBDIR usually gets substituted with arch specific dir.
+# It's relative in deb build and can be whatever in rpm build.
+#
+
+LIBDIR ?= usr/lib
+ABS_LIBDIR := $(shell echo /$(LIBDIR) | sed -r 's|/+|/|g')
+
$(PKGCONFIG): $(LIB_NAME).pc.in Makefile
- sed -e 's/\[version\]/'$(PCVERSION)/g $< > $@
+ sed -e 's|@version@|$(PCVERSION)|g' -e 's|@libdir@|$(ABS_LIBDIR)|g' $< > $@
+
+debian/%.install: debian/%.install.in
+ sed 's|@LIBDIR@|$(LIBDIR)|g' $< > $@
#
# Install
@@ -304,9 +314,9 @@
INSTALL_DIRS = $(INSTALL) -d
INSTALL_FILES = $(INSTALL) -m $(INSTALL_PERM)
-INSTALL_LIB_DIR = $(DESTDIR)/usr/lib
+INSTALL_LIB_DIR = $(DESTDIR)$(ABS_LIBDIR)
INSTALL_INCLUDE_DIR = $(DESTDIR)/usr/include/$(NAME)
-INSTALL_PKGCONFIG_DIR = $(DESTDIR)/usr/lib/pkgconfig
+INSTALL_PKGCONFIG_DIR = $(DESTDIR)$(ABS_LIBDIR)/pkgconfig
install: $(INSTALL_LIB_DIR)
$(INSTALL_FILES) $(RELEASE_SO) $(INSTALL_LIB_DIR)
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/debian/changelog
^
|
@@ -1,3 +1,11 @@
+libgbinder (1.0.43) unstable; urgency=low
+
+ * Hide internal symbols
+ * Respect arch specific lib dir
+ * Allow strip command to be replaced via environment variable
+
+ -- Slava Monich <slava.monich@jolla.com> Wed, 03 Jun 2020 15:15:40 +0300
+
libgbinder (1.0.42) unstable; urgency=low
* Allow GBinderClient to use multiple interfaces
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/debian/control
^
|
@@ -2,7 +2,7 @@
Section: libs
Priority: optional
Maintainer: Slava Monich <slava.monich@jolla.com>
-Build-Depends: debhelper (>= 7), libglib2.0-dev (>= 2.0), libglibutil (>= 1.0.35)
+Build-Depends: debhelper (>= 8.1.3), libglib2.0-dev (>= 2.0), libglibutil (>= 1.0.35)
Standards-Version: 3.8.4
Package: libgbinder
|
[-]
[+]
|
Added |
_service:tar_git:libgbinder-1.0.43.tar.bz2/debian/libgbinder-dev.install.in
^
|
@@ -0,0 +1,3 @@
+debian/tmp/@LIBDIR@/libgbinder.so @LIBDIR@
+debian/tmp/@LIBDIR@/pkgconfig/libgbinder.pc @LIBDIR@/pkgconfig
+debian/tmp/usr/include/* usr/include
|
[-]
[+]
|
Added |
_service:tar_git:libgbinder-1.0.43.tar.bz2/debian/libgbinder.install.in
^
|
@@ -0,0 +1 @@
+debian/tmp/@LIBDIR@/libgbinder.so.* @LIBDIR@
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/debian/rules
^
|
@@ -4,8 +4,13 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+override_dh_auto_build:
+ dh_auto_build -- LIBDIR=$(LIBDIR) release pkgconfig debian/libgbinder.install debian/libgbinder-dev.install
+
override_dh_auto_install:
- dh_auto_install -- install-dev
+ dh_auto_install -- LIBDIR=$(LIBDIR) install-dev
%:
dh $@
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/libgbinder.pc.in
^
|
@@ -1,10 +1,10 @@
name=gbinder
-libdir=/usr/lib
+libdir=@libdir@
includedir=/usr/include
Name: libgbinder
Description: Binder client library
-Version: [version]
-Requires: glib-2.0 libglibutil
+Version: @version@
+Requires.private: glib-2.0 libglibutil
Libs: -L${libdir} -l${name}
Cflags: -I${includedir} -I${includedir}/${name}
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_buffer_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -42,42 +42,51 @@
GBinderDriver* driver,
void* data,
gsize size,
- void** objects);
+ void** objects)
+ GBINDER_INTERNAL;
GBinderBuffer*
gbinder_buffer_new_with_parent(
GBinderBuffer* parent,
void* data,
- gsize size);
+ gsize size)
+ GBINDER_INTERNAL;
GBinderDriver*
gbinder_buffer_driver(
- GBinderBuffer* buf);
+ GBinderBuffer* buf)
+ GBINDER_INTERNAL;
GBinderBufferContents*
gbinder_buffer_contents(
- GBinderBuffer* buf);
+ GBinderBuffer* buf)
+ GBINDER_INTERNAL;
gconstpointer
gbinder_buffer_data(
GBinderBuffer* buf,
- gsize* size);
+ gsize* size)
+ GBINDER_INTERNAL;
const GBinderIo*
gbinder_buffer_io(
- GBinderBuffer* buf);
+ GBinderBuffer* buf)
+ GBINDER_INTERNAL;
void**
gbinder_buffer_objects(
- GBinderBuffer* buffer);
+ GBinderBuffer* buffer)
+ GBINDER_INTERNAL;
GBinderBufferContents*
gbinder_buffer_contents_ref(
- GBinderBufferContents* contents);
+ GBinderBufferContents* contents)
+ GBINDER_INTERNAL;
void
gbinder_buffer_contents_unref(
- GBinderBufferContents* contents);
+ GBinderBufferContents* contents)
+ GBINDER_INTERNAL;
#endif /* GBINDER_BUFFER_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_cleanup.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -37,17 +37,20 @@
void
gbinder_cleanup_free(
- GBinderCleanup* cleanup);
+ GBinderCleanup* cleanup)
+ GBINDER_INTERNAL;
void
gbinder_cleanup_reset(
- GBinderCleanup* cleanup);
+ GBinderCleanup* cleanup)
+ GBINDER_INTERNAL;
GBinderCleanup*
gbinder_cleanup_add(
GBinderCleanup* cleanup,
GDestroyNotify destroy,
- gpointer pointer);
+ gpointer pointer)
+ GBINDER_INTERNAL;
#endif /* GBINDER_CLEANUP_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_driver.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018-2019 Jolla Ltd.
- * Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -40,87 +40,105 @@
GBinderDriver*
gbinder_driver_new(
const char* dev,
- const GBinderRpcProtocol* protocol);
+ const GBinderRpcProtocol* protocol)
+ GBINDER_INTERNAL;
GBinderDriver*
gbinder_driver_ref(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
void
gbinder_driver_unref(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
int
gbinder_driver_fd(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
int
gbinder_driver_poll(
GBinderDriver* driver,
- struct pollfd* pollfd);
+ struct pollfd* pollfd)
+ GBINDER_INTERNAL;
const char*
gbinder_driver_dev(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
const GBinderIo*
gbinder_driver_io(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_request_death_notification(
GBinderDriver* driver,
- GBinderRemoteObject* obj);
+ GBinderRemoteObject* obj)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_clear_death_notification(
GBinderDriver* driver,
- GBinderRemoteObject* obj);
+ GBinderRemoteObject* obj)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_increfs(
GBinderDriver* driver,
- guint32 handle);
+ guint32 handle)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_decrefs(
GBinderDriver* driver,
- guint32 handle);
+ guint32 handle)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_acquire(
GBinderDriver* driver,
- guint32 handle);
+ guint32 handle)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_release(
GBinderDriver* driver,
- guint32 handle);
+ guint32 handle)
+ GBINDER_INTERNAL;
void
gbinder_driver_close_fds(
GBinderDriver* self,
void** objects,
- const void* end);
+ const void* end)
+ GBINDER_INTERNAL;
void
gbinder_driver_free_buffer(
GBinderDriver* driver,
- void* buffer);
+ void* buffer)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_enter_looper(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
gboolean
gbinder_driver_exit_looper(
- GBinderDriver* driver);
+ GBinderDriver* driver)
+ GBINDER_INTERNAL;
int
gbinder_driver_read(
GBinderDriver* driver,
GBinderObjectRegistry* reg,
- GBinderHandler* handler);
+ GBinderHandler* handler)
+ GBINDER_INTERNAL;
int
gbinder_driver_transact(
@@ -129,18 +147,21 @@
guint32 handle,
guint32 code,
GBinderLocalRequest* request,
- GBinderRemoteReply* reply);
+ GBinderRemoteReply* reply)
+ GBINDER_INTERNAL;
int
gbinder_driver_ping(
GBinderDriver* driver,
GBinderObjectRegistry* reg,
- guint32 handle);
+ guint32 handle)
+ GBINDER_INTERNAL;
GBinderLocalRequest*
gbinder_driver_local_request_new(
GBinderDriver* self,
- const char* iface);
+ const char* iface)
+ GBINDER_INTERNAL;
#endif /* GBINDER_DRIVER_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_eventloop_p.h
^
|
@@ -33,64 +33,65 @@
#ifndef GBINDER_EVENTLOOP_PRIVATE_H
#define GBINDER_EVENTLOOP_PRIVATE_H
+#include "gbinder_types_p.h"
#include "gbinder_eventloop.h"
-G_GNUC_INTERNAL
GBinderEventLoopTimeout*
gbinder_timeout_add(
guint millis,
GSourceFunc func,
- gpointer data);
+ gpointer data)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderEventLoopTimeout*
gbinder_idle_add(
GSourceFunc func,
- gpointer data);
+ gpointer data)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_timeout_remove(
- GBinderEventLoopTimeout* timeout);
+ GBinderEventLoopTimeout* timeout)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderEventLoopCallback*
gbinder_idle_callback_new(
GBinderEventLoopCallbackFunc func,
gpointer data,
- GDestroyNotify destroy);
+ GDestroyNotify destroy)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderEventLoopCallback*
gbinder_idle_callback_schedule_new(
GBinderEventLoopCallbackFunc func,
gpointer data,
- GDestroyNotify destroy);
+ GDestroyNotify destroy)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderEventLoopCallback*
gbinder_idle_callback_ref(
- GBinderEventLoopCallback* cb);
+ GBinderEventLoopCallback* cb)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_idle_callback_unref(
- GBinderEventLoopCallback* cb);
+ GBinderEventLoopCallback* cb)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_idle_callback_schedule(
- GBinderEventLoopCallback* cb);
+ GBinderEventLoopCallback* cb)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_idle_callback_cancel(
- GBinderEventLoopCallback* cb);
+ GBinderEventLoopCallback* cb)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_idle_callback_destroy(
- GBinderEventLoopCallback* cb);
+ GBinderEventLoopCallback* cb)
+ GBINDER_INTERNAL;
#endif /* GBINDER_EVENTLOOP_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_handler.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -13,9 +13,9 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jolla Ltd nor the names of its contributors may
- * be used to endorse or promote products derived from this software
- * without specific prior written permission.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_io.h
^
|
@@ -181,8 +181,8 @@
int (*write_read)(int fd, GBinderIoBuf* write, GBinderIoBuf* read);
};
-extern const GBinderIo gbinder_io_32;
-extern const GBinderIo gbinder_io_64;
+extern const GBinderIo gbinder_io_32 GBINDER_INTERNAL;
+extern const GBinderIo gbinder_io_64 GBINDER_INTERNAL;
#endif /* GBINDER_IO_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_ipc.h
^
|
@@ -67,69 +67,68 @@
int status,
void* user_data);
-G_GNUC_INTERNAL
GBinderIpc*
gbinder_ipc_new(
- const char* dev,
- const GBinderRpcProtocol* protocol);
+ const char* dev,
+ const GBinderRpcProtocol* protocol)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderIpc*
gbinder_ipc_ref(
- GBinderIpc* ipc);
+ GBinderIpc* ipc)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_ipc_unref(
- GBinderIpc* ipc);
+ GBinderIpc* ipc)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_ipc_looper_check(
- GBinderIpc* ipc);
+ GBinderIpc* ipc)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderObjectRegistry*
gbinder_ipc_object_registry(
- GBinderIpc* ipc);
+ GBinderIpc* ipc)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_ipc_register_local_object(
GBinderIpc* ipc,
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderRemoteObject*
gbinder_ipc_get_remote_object(
GBinderIpc* ipc,
guint32 handle,
- gboolean maybe_dead);
+ gboolean maybe_dead)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_ipc_invalidate_remote_handle(
GBinderIpc* ipc,
- guint32 handle);
+ guint32 handle)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
GBinderRemoteReply*
gbinder_ipc_transact_sync_reply(
GBinderIpc* ipc,
guint32 handle,
guint32 code,
GBinderLocalRequest* req,
- int* status);
+ int* status)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
int
gbinder_ipc_transact_sync_oneway(
GBinderIpc* ipc,
guint32 handle,
guint32 code,
- GBinderLocalRequest* req);
+ GBinderLocalRequest* req)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
gulong
gbinder_ipc_transact(
GBinderIpc* ipc,
@@ -139,43 +138,44 @@
GBinderLocalRequest* req,
GBinderIpcReplyFunc func,
GDestroyNotify destroy,
- void* user_data);
+ void* user_data)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
gulong
gbinder_ipc_transact_custom(
GBinderIpc* ipc,
GBinderIpcTxFunc exec,
GBinderIpcTxFunc done,
GDestroyNotify destroy,
- void* user_data);
+ void* user_data)
+ GBINDER_INTERNAL;
-G_GNUC_INTERNAL
void
gbinder_ipc_cancel(
GBinderIpc* ipc,
- gulong id);
+ gulong id)
+ GBINDER_INTERNAL;
/* Internal for GBinderLocalObject */
-G_GNUC_INTERNAL
void
gbinder_ipc_local_object_disposed(
GBinderIpc* self,
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
/* Internal for GBinderRemoteObject */
-G_GNUC_INTERNAL
void
gbinder_ipc_remote_object_disposed(
GBinderIpc* self,
- GBinderRemoteObject* obj);
+ GBinderRemoteObject* obj)
+ GBINDER_INTERNAL;
/* Declared for unit tests */
-G_GNUC_INTERNAL
__attribute__((destructor))
void
gbinder_ipc_exit(
- void);
+ void)
+ GBINDER_INTERNAL;
#endif /* GBINDER_IPC_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_local_object_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018-2019 Jolla Ltd.
- * Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -79,7 +79,7 @@
/* Need to add some placeholders if this class becomes public */
} GBinderLocalObjectClass;
-GType gbinder_local_object_get_type(void);
+GType gbinder_local_object_get_type(void) GBINDER_INTERNAL;
#define GBINDER_TYPE_LOCAL_OBJECT (gbinder_local_object_get_type())
#define GBINDER_LOCAL_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
GBINDER_TYPE_LOCAL_OBJECT, GBinderLocalObject))
@@ -91,24 +91,28 @@
gbinder_local_object_add_weak_refs_changed_handler(
GBinderLocalObject* obj,
GBinderLocalObjectFunc func,
- void* user_data);
+ void* user_data)
+ GBINDER_INTERNAL;
gulong
gbinder_local_object_add_strong_refs_changed_handler(
GBinderLocalObject* obj,
GBinderLocalObjectFunc func,
- void* user_data);
+ void* user_data)
+ GBINDER_INTERNAL;
void
gbinder_local_object_remove_handler(
GBinderLocalObject* obj,
- gulong id);
+ gulong id)
+ GBINDER_INTERNAL;
GBINDER_LOCAL_TRANSACTION_SUPPORT
gbinder_local_object_can_handle_transaction(
GBinderLocalObject* self,
const char* iface,
- guint code);
+ guint code)
+ GBINDER_INTERNAL;
GBinderLocalReply*
gbinder_local_object_handle_transaction(
@@ -116,7 +120,8 @@
GBinderRemoteRequest* req,
guint code,
guint flags,
- int* status);
+ int* status)
+ GBINDER_INTERNAL;
GBinderLocalReply*
gbinder_local_object_handle_looper_transaction(
@@ -124,23 +129,28 @@
GBinderRemoteRequest* req,
guint code,
guint flags,
- int* status);
+ int* status)
+ GBINDER_INTERNAL;
void
gbinder_local_object_handle_increfs(
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
void
gbinder_local_object_handle_decrefs(
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
void
gbinder_local_object_handle_acquire(
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
void
gbinder_local_object_handle_release(
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
#endif /* GBINDER_LOCAL_OBJECT_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_local_reply_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -39,15 +39,18 @@
GBinderLocalReply*
gbinder_local_reply_new(
- const GBinderIo* io);
+ const GBinderIo* io)
+ GBINDER_INTERNAL;
GBinderOutputData*
gbinder_local_reply_data(
- GBinderLocalReply* reply);
+ GBinderLocalReply* reply)
+ GBINDER_INTERNAL;
GBinderLocalReply*
gbinder_local_reply_new_from_data(
- GBinderBuffer* buffer);
+ GBinderBuffer* buffer)
+ GBINDER_INTERNAL;
#endif /* GBINDER_LOCAL_REPLY_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_local_request_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -40,15 +40,18 @@
GBinderLocalRequest*
gbinder_local_request_new(
const GBinderIo* io,
- GBytes* init);
+ GBytes* init)
+ GBINDER_INTERNAL;
GBinderOutputData*
gbinder_local_request_data(
- GBinderLocalRequest* req);
+ GBinderLocalRequest* req)
+ GBINDER_INTERNAL;
GBinderLocalRequest*
gbinder_local_request_new_from_data(
- GBinderBuffer* buffer);
+ GBinderBuffer* buffer)
+ GBINDER_INTERNAL;
#endif /* GBINDER_LOCAL_REQUEST_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_log.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -13,9 +13,9 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jolla Ltd nor the names of its contributors may
- * be used to endorse or promote products derived from this software
- * without specific prior written permission.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -33,17 +33,17 @@
#ifndef GBINDER_LOG_H
#define GBINDER_LOG_H
-#include "gbinder_types.h"
+#include "gbinder_types_p.h"
#define GLOG_MODULE_NAME GBINDER_LOG_MODULE
#include <gutil_log.h>
/* Declared for unit tests */
-G_GNUC_INTERNAL
__attribute__((constructor))
void
gbinder_log_init(
- void);
+ void)
+ GBINDER_INTERNAL;
#endif /* GBINDER_LOG_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_object_registry.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -13,9 +13,9 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jolla Ltd nor the names of its contributors may
- * be used to endorse or promote products derived from this software
- * without specific prior written permission.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_output_data.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -13,9 +13,9 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jolla Ltd nor the names of its contributors may
- * be used to endorse or promote products derived from this software
- * without specific prior written permission.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_reader_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -13,9 +13,9 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jolla Ltd nor the names of its contributors may
- * be used to endorse or promote products derived from this software
- * without specific prior written permission.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -48,7 +48,8 @@
GBinderReader* reader,
GBinderReaderData* data,
gsize offset,
- gsize len);
+ gsize len)
+ GBINDER_INTERNAL;
#endif /* GBINDER_READER_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_remote_object_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018-2019 Jolla Ltd.
- * Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -55,15 +55,18 @@
gbinder_remote_object_new(
GBinderIpc* ipc,
guint32 handle,
- gboolean maybe_dead);
+ gboolean maybe_dead)
+ GBINDER_INTERNAL;
gboolean
gbinder_remote_object_reanimate(
- GBinderRemoteObject* obj);
+ GBinderRemoteObject* obj)
+ GBINDER_INTERNAL;
void
gbinder_remote_object_handle_death_notification(
- GBinderRemoteObject* obj);
+ GBinderRemoteObject* obj)
+ GBINDER_INTERNAL;
#endif /* GBINDER_REMOTE_OBJECT_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_remote_reply_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -39,16 +39,19 @@
GBinderRemoteReply*
gbinder_remote_reply_new(
- GBinderObjectRegistry* reg);
+ GBinderObjectRegistry* reg)
+ GBINDER_INTERNAL;
void
gbinder_remote_reply_set_data(
GBinderRemoteReply* reply,
- GBinderBuffer* buffer);
+ GBinderBuffer* buffer)
+ GBINDER_INTERNAL;
gboolean
gbinder_remote_reply_is_empty(
- GBinderRemoteReply* reply);
+ GBinderRemoteReply* reply)
+ GBINDER_INTERNAL;
#endif /* GBINDER_REMOTE_REPLY_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_remote_request_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -46,13 +46,15 @@
GBinderObjectRegistry* reg,
const GBinderRpcProtocol* protocol,
pid_t pid,
- uid_t euid);
+ uid_t euid)
+ GBINDER_INTERNAL;
void
gbinder_remote_request_set_data(
GBinderRemoteRequest* request,
guint txcode,
- GBinderBuffer* buffer);
+ GBinderBuffer* buffer)
+ GBINDER_INTERNAL;
#endif /* GBINDER_REMOTE_REQUEST_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_rpc_protocol.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018-2019 Jolla Ltd.
- * Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -15,8 +15,8 @@
* documentation and/or other materials provided with the distribution.
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -49,13 +49,14 @@
char** iface);
};
-extern const GBinderRpcProtocol gbinder_rpc_protocol_binder;
-extern const GBinderRpcProtocol gbinder_rpc_protocol_hwbinder;
+extern const GBinderRpcProtocol gbinder_rpc_protocol_binder GBINDER_INTERNAL;
+extern const GBinderRpcProtocol gbinder_rpc_protocol_hwbinder GBINDER_INTERNAL;
/* Returns one of the above based on the device name */
const GBinderRpcProtocol*
gbinder_rpc_protocol_for_device(
- const char* dev);
+ const char* dev)
+ GBINDER_INTERNAL;
#endif /* GBINDER_RPC_PROTOCOL_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_servicemanager_p.h
^
|
@@ -84,18 +84,20 @@
void (*unwatch)(GBinderServiceManager* self, const char* name);
} GBinderServiceManagerClass;
-GType gbinder_servicemanager_get_type(void);
+GType gbinder_servicemanager_get_type(void) GBINDER_INTERNAL;
#define GBINDER_TYPE_SERVICEMANAGER (gbinder_servicemanager_get_type())
GBinderServiceManager*
gbinder_servicemanager_new_with_type(
GType type,
- const char* dev);
+ const char* dev)
+ GBINDER_INTERNAL;
void
gbinder_servicemanager_service_registered(
GBinderServiceManager* self,
- const char* name);
+ const char* name)
+ GBINDER_INTERNAL;
#endif /* GBINDER_SERVICEMANAGER_PRIVATE_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_servicepoll.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -35,7 +35,7 @@
#include "gbinder_types_p.h"
-extern guint gbinder_servicepoll_interval_ms;
+extern guint gbinder_servicepoll_interval_ms GBINDER_INTERNAL;
typedef
void
@@ -47,35 +47,42 @@
GBinderServicePoll*
gbinder_servicepoll_new(
GBinderServiceManager* manager,
- GBinderServicePoll** weakptr);
+ GBinderServicePoll** weakptr)
+ GBINDER_INTERNAL;
GBinderServicePoll*
gbinder_servicepoll_ref(
- GBinderServicePoll* poll);
+ GBinderServicePoll* poll)
+ GBINDER_INTERNAL;
void
gbinder_servicepoll_unref(
- GBinderServicePoll* poll);
+ GBinderServicePoll* poll)
+ GBINDER_INTERNAL;
GBinderServiceManager*
gbinder_servicepoll_manager(
- GBinderServicePoll* poll);
+ GBinderServicePoll* poll)
+ GBINDER_INTERNAL;
gboolean
gbinder_servicepoll_is_known_name(
GBinderServicePoll* poll,
- const char* name);
+ const char* name)
+ GBINDER_INTERNAL;
gulong
gbinder_servicepoll_add_handler(
GBinderServicePoll* poll,
GBinderServicePollFunc func,
- void* user_data);
+ void* user_data)
+ GBINDER_INTERNAL;
void
gbinder_servicepoll_remove_handler(
GBinderServicePoll* poll,
- gulong id);
+ gulong id)
+ GBINDER_INTERNAL;
#endif /* GBINDER_SERVICEPOLL_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_system.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Contact: Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -13,9 +13,9 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Jolla Ltd nor the names of its contributors may
- * be used to endorse or promote products derived from this software
- * without specific prior written permission.
+ * 3. Neither the names of the copyright holders nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -38,29 +38,34 @@
int
gbinder_system_open(
const char* path,
- int flags);
+ int flags)
+ GBINDER_INTERNAL;
int
gbinder_system_close(
- int fd);
+ int fd)
+ GBINDER_INTERNAL;
int
gbinder_system_ioctl(
int fd,
int request,
- void* data);
+ void* data)
+ GBINDER_INTERNAL;
void*
gbinder_system_mmap(
size_t length,
int prot,
int flags,
- int fd);
+ int fd)
+ GBINDER_INTERNAL;
int
gbinder_system_munmap(
void* addr,
- size_t length);
+ size_t length)
+ GBINDER_INTERNAL;
#endif /* GBINDER_SYSTEM_H */
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_types_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018-2019 Jolla Ltd.
- * Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -47,6 +47,7 @@
typedef struct gbinder_ipc_looper_tx GBinderIpcLooperTx;
#define GBINDER_INLINE_FUNC static inline
+#define GBINDER_INTERNAL G_GNUC_INTERNAL
#define GBINDER_TRANSACTION(c2,c3,c4) GBINDER_FOURCC('_',c2,c3,c4)
#define GBINDER_PING_TRANSACTION GBINDER_TRANSACTION('P','N','G')
|
[-]
[+]
|
Changed |
_service:tar_git:libgbinder-1.0.43.tar.bz2/src/gbinder_writer_p.h
^
|
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2018 Jolla Ltd.
- * Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
+ * Copyright (C) 2018-2020 Jolla Ltd.
+ * Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@@ -48,94 +48,111 @@
void
gbinder_writer_init(
GBinderWriter* writer,
- GBinderWriterData* data);
+ GBinderWriterData* data)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_set_contents(
GBinderWriterData* data,
- GBinderBuffer* buffer);
+ GBinderBuffer* buffer)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_bool(
GBinderWriterData* data,
- gboolean value);
+ gboolean value)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_int32(
GBinderWriterData* data,
- guint32 value);
+ guint32 value)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_int64(
GBinderWriterData* data,
- guint64 value);
+ guint64 value)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_float(
GBinderWriterData* data,
- gfloat value);
+ gfloat value)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_double(
GBinderWriterData* data,
- gdouble value);
+ gdouble value)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_string8(
GBinderWriterData* data,
- const char* str);
+ const char* str)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_string8_len(
GBinderWriterData* data,
const char* str,
- gsize len);
+ gsize len)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_string16(
GBinderWriterData* data,
- const char* utf8);
+ const char* utf8)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_string16_len(
GBinderWriterData* data,
const char* utf8,
- gssize num_bytes);
+ gssize num_bytes)
+ GBINDER_INTERNAL;
guint
gbinder_writer_data_append_buffer_object(
GBinderWriterData* data,
const void* ptr,
gsize size,
- const GBinderParent* parent);
+ const GBinderParent* parent)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_hidl_vec(
GBinderWriterData* data,
const void* base,
guint count,
- guint elemsize);
+ guint elemsize)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_hidl_string(
GBinderWriterData* data,
- const char* str);
+ const char* str)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_hidl_string_vec(
GBinderWriterData* data,
const char* strv[],
- gssize count);
+ gssize count)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_local_object(
GBinderWriterData* data,
- GBinderLocalObject* obj);
+ GBinderLocalObject* obj)
+ GBINDER_INTERNAL;
void
gbinder_writer_data_append_remote_object(
GBinderWriterData* data,
- GBinderRemoteObject* obj);
+ GBinderRemoteObject* obj)
+ GBINDER_INTERNAL;
#endif /* GBINDER_WRITER_PRIVATE_H */
|