[info=5037deed9e819852961aea86956727af9511b985ca0ac2394f0f94c4104328f0]

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvalue?expand=0&rev=28
This commit is contained in:
OBS User unknown 2024-11-02 16:21:52 +00:00 committed by Git OBS Bridge
parent 85c2b9406a
commit 844daaa67d
3 changed files with 37 additions and 27 deletions

View File

@ -7,15 +7,29 @@ Subject: [PATCH] Export libfvalue_value_get_entry
it needs to be exported for DLLs to work correctly. This patch
corrects that problem.
---
include/libfvalue.h.in | 17 +++++++++++++++++
libfvalue/libfvalue_value.h | 8 --------
2 files changed, 17 insertions(+), 8 deletions(-)
include/libfvalue.h.in | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Index: libfvalue-20240415/include/libfvalue.h.in
===================================================================
--- libfvalue-20240415.orig/include/libfvalue.h.in
+++ libfvalue-20240415/include/libfvalue.h.in
@@ -943,6 +943,14 @@ int libfvalue_value_get_number_of_value_
@@ -210,6 +210,14 @@ int libfvalue_data_handle_set_value_entr
int encoding,
libfvalue_error_t **error );
+LIBFVALUE_EXTERN \
+int libfvalue_data_handle_append_value_entry(
+ libfvalue_data_handle_t *data_handle,
+ int *value_entry_index,
+ size_t value_entry_offset,
+ size_t value_entry_size,
+ libcerror_error_t **error );
+
/* Appends a value entry
* Returns if successful or -1 on error
*/
@@ -943,6 +951,14 @@ int libfvalue_value_get_number_of_value_
int *number_of_value_entries,
libfvalue_error_t **error );
@ -30,7 +44,22 @@ Index: libfvalue-20240415/include/libfvalue.h.in
/* Retrieves the entry data
* Returns 1 if successful, 0 if the value has no data or -1 on error
*/
@@ -979,6 +987,15 @@ int libfvalue_value_append_entry_data(
@@ -967,6 +983,14 @@ int libfvalue_value_set_entry_data(
int encoding,
libfvalue_error_t **error );
+LIBFVALUE_EXTERN \
+int libfvalue_value_append_entry(
+ libfvalue_value_t *value,
+ int *value_entry_index,
+ size_t entry_data_offset,
+ size_t entry_data_size,
+ libcerror_error_t **error );
+
/* Appends the entry data
* Returns 1 if successful or -1 on error
*/
@@ -979,6 +1003,15 @@ int libfvalue_value_append_entry_data(
int encoding,
libfvalue_error_t **error );
@ -46,22 +75,3 @@ Index: libfvalue-20240415/include/libfvalue.h.in
/* Copies the value data from a boolean value
* Returns 1 if successful, 0 if value could not be set or -1 on error
*/
Index: libfvalue-20240415/libfvalue/libfvalue_value.h
===================================================================
--- libfvalue-20240415.orig/libfvalue/libfvalue_value.h
+++ libfvalue-20240415/libfvalue/libfvalue_value.h
@@ -462,14 +462,6 @@ int libfvalue_value_get_number_of_value_
libcerror_error_t **error );
LIBFVALUE_EXTERN \
-int libfvalue_value_get_entry(
- libfvalue_value_t *value,
- int value_entry_index,
- size_t *entry_data_offset,
- size_t *entry_data_size,
- libcerror_error_t **error );
-
-LIBFVALUE_EXTERN \
int libfvalue_value_set_entry(
libfvalue_value_t *value,
int value_entry_index,

View File

@ -1,4 +1,4 @@
mtime: 1730563711
commit: 2df836ddb736a13c96397f8a36728b284fa44260e021c3e579dab154216f66c4
mtime: 1730564497
commit: 5037deed9e819852961aea86956727af9511b985ca0ac2394f0f94c4104328f0
url: https://src.opensuse.org/jengelh/libfvalue
revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b384314197b8d1796dff99a4cdb03e297e13b1501c54c11edd2dd4aaa99d21db
oid sha256:a7c359ec2e0f2c6a14b2e3afe80100d363bd71d1f9be06de19cfd230f041f349
size 256