summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/collection/Makefile.am2
-rw-r--r--common/collection/collection_queue.c8
-rw-r--r--common/collection/collection_queue.h8
-rw-r--r--common/collection/collection_stack.c8
-rw-r--r--common/collection/collection_stack.h8
-rw-r--r--common/collection/configure.ac2
-rw-r--r--contrib/sssd.spec.in7
7 files changed, 21 insertions, 22 deletions
diff --git a/common/collection/Makefile.am b/common/collection/Makefile.am
index b9975d18..4e90aed1 100644
--- a/common/collection/Makefile.am
+++ b/common/collection/Makefile.am
@@ -41,7 +41,7 @@ libcollection_la_SOURCES = \
collection_priv.h \
../trace/trace.h
libcollection_la_LDFLAGS = \
- -version-info 1:0:0
+ -version-info 2:0:0
# Build unit test
check_PROGRAMS = collection_ut collection_stack_ut collection_queue_ut
diff --git a/common/collection/collection_queue.c b/common/collection/collection_queue.c
index 7e068339..adac8ee6 100644
--- a/common/collection/collection_queue.c
+++ b/common/collection/collection_queue.c
@@ -108,7 +108,7 @@ int col_enqueue_binary_property(struct collection_item *queue,
/* Put an int property into a queue. */
int col_enqueue_int_property(struct collection_item *queue,
const char *property,
- int number)
+ int32_t number)
{
int error = EOK;
@@ -135,7 +135,7 @@ int col_enqueue_int_property(struct collection_item *queue,
/* Put an unsigned int property into a queue. */
int col_enqueue_unsigned_property(struct collection_item *queue,
const char *property,
- unsigned int number)
+ uint32_t number)
{
int error = EOK;
@@ -163,7 +163,7 @@ int col_enqueue_unsigned_property(struct collection_item *queue,
/* Put a long property. */
int col_enqueue_long_property(struct collection_item *queue,
const char *property,
- long number)
+ int64_t number)
{
int error = EOK;
@@ -190,7 +190,7 @@ int col_enqueue_long_property(struct collection_item *queue,
/* Put an unsigned long property. */
int col_enqueue_ulong_property(struct collection_item *queue,
const char *property,
- unsigned long number)
+ uint64_t number)
{
int error = EOK;
diff --git a/common/collection/collection_queue.h b/common/collection/collection_queue.h
index 2fe07489..86c39252 100644
--- a/common/collection/collection_queue.h
+++ b/common/collection/collection_queue.h
@@ -144,7 +144,7 @@ int col_enqueue_binary_property(struct collection_item *queue,
*/
int col_enqueue_int_property(struct collection_item *queue,
const char *property,
- int number);
+ int32_t number);
/**
* @brief Add unsigned value to the queue.
*
@@ -167,7 +167,7 @@ int col_enqueue_int_property(struct collection_item *queue,
*/
int col_enqueue_unsigned_property(struct collection_item *queue,
const char *property,
- unsigned int number);
+ uint32_t number);
/**
* @brief Add long integer value to the queue.
*
@@ -190,7 +190,7 @@ int col_enqueue_unsigned_property(struct collection_item *queue,
*/
int col_enqueue_long_property(struct collection_item *queue,
const char *property,
- long number);
+ int64_t number);
/**
* @brief Add unsigned long value to the queue.
*
@@ -213,7 +213,7 @@ int col_enqueue_long_property(struct collection_item *queue,
*/
int col_enqueue_ulong_property(struct collection_item *queue,
const char *property,
- unsigned long number);
+ uint64_t number);
/**
* @brief Add floating point value to the queue.
*
diff --git a/common/collection/collection_stack.c b/common/collection/collection_stack.c
index 503ada33..509df511 100644
--- a/common/collection/collection_stack.c
+++ b/common/collection/collection_stack.c
@@ -106,7 +106,7 @@ int col_push_binary_property(struct collection_item *stack,
/* Push an int property to stack. */
int col_push_int_property(struct collection_item *stack,
const char *property,
- int number)
+ int32_t number)
{
int error = EOK;
@@ -133,7 +133,7 @@ int col_push_int_property(struct collection_item *stack,
/* Push an unsigned int property to stack. */
int col_push_unsigned_property(struct collection_item *stack,
const char *property,
- unsigned int number)
+ uint32_t number)
{
int error = EOK;
@@ -161,7 +161,7 @@ int col_push_unsigned_property(struct collection_item *stack,
/* Push a long property. */
int col_push_long_property(struct collection_item *stack,
const char *property,
- long number)
+ int64_t number)
{
int error = EOK;
@@ -188,7 +188,7 @@ int col_push_long_property(struct collection_item *stack,
/* Push an unsigned long property. */
int col_push_ulong_property(struct collection_item *stack,
const char *property,
- unsigned long number)
+ uint64_t number)
{
int error = EOK;
diff --git a/common/collection/collection_stack.h b/common/collection/collection_stack.h
index e4be156b..f9b01309 100644
--- a/common/collection/collection_stack.h
+++ b/common/collection/collection_stack.h
@@ -145,7 +145,7 @@ int col_push_binary_property(struct collection_item *stack,
*/
int col_push_int_property(struct collection_item *stack,
const char *property,
- int number);
+ int32_t number);
/**
* @brief Push unsigned value to the stack.
*
@@ -168,7 +168,7 @@ int col_push_int_property(struct collection_item *stack,
*/
int col_push_unsigned_property(struct collection_item *stack,
const char *property,
- unsigned int number);
+ uint32_t number);
/**
* @brief Push long integer value to the stack.
*
@@ -191,7 +191,7 @@ int col_push_unsigned_property(struct collection_item *stack,
*/
int col_push_long_property(struct collection_item *stack,
const char *property,
- long number);
+ int64_t number);
/**
* @brief Push unsigned long value to the stack.
*
@@ -214,7 +214,7 @@ int col_push_long_property(struct collection_item *stack,
*/
int col_push_ulong_property(struct collection_item *stack,
const char *property,
- unsigned long number);
+ uint64_t number);
/**
* @brief Push floating point value to the stack.
*
diff --git a/common/collection/configure.ac b/common/collection/configure.ac
index 25aba162..02c0ab4c 100644
--- a/common/collection/configure.ac
+++ b/common/collection/configure.ac
@@ -1,5 +1,5 @@
AC_INIT([collection],
- [0.4.0],
+ [0.5.0],
[sssd-devel@lists.fedorahosted.org])
AC_CONFIG_SRCDIR([collection.c])
AC_CONFIG_AUX_DIR([build])
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 992062bd..59fe1889 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -15,7 +15,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%define dhash_version 0.4.0
%define path_utils_version 0.2.0
-%define collection_version 0.4.0
+%define collection_version 0.5.0
%define ini_config_version 0.6.0
%define refarray_version 0.1.0
@@ -367,8 +367,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc common/collection/COPYING
%doc common/collection/COPYING.LESSER
-%{_libdir}/libcollection.so.1
-%{_libdir}/libcollection.so.1.0.0
+%{_libdir}/libcollection.so.2
+%{_libdir}/libcollection.so.2.0.0
%files -n libcollection-devel
%defattr(-,root,root,-)
@@ -453,4 +453,3 @@ fi
%changelog
* Mon Mar 15 2010 Stephen Gallagher <sgallagh@redhat.com> - @PACKAGE_VERSION@-0@PRERELEASE_VERSION@
- Automated build of the SSSD
-