summaryrefslogtreecommitdiffstats
path: root/src/lib/ccapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ccapi')
-rw-r--r--src/lib/ccapi/common/generic_lists.c5
-rw-r--r--src/lib/ccapi/include/datastore.h7
-rw-r--r--src/lib/ccapi/include/generic_lists.h7
3 files changed, 7 insertions, 12 deletions
diff --git a/src/lib/ccapi/common/generic_lists.c b/src/lib/ccapi/common/generic_lists.c
index a48c528f9..2c7398313 100644
--- a/src/lib/ccapi/common/generic_lists.c
+++ b/src/lib/ccapi/common/generic_lists.c
@@ -54,11 +54,6 @@
#include "CredentialsCache.h"
#include "generic_lists.h"
-/* this is an incomplete enumeration just including the generic type */
-enum cc_list_type {
- generic = 0
-};
-
/**
* cci_generic_iterate_has_next()
*
diff --git a/src/lib/ccapi/include/datastore.h b/src/lib/ccapi/include/datastore.h
index 4f119f969..7bb8b093d 100644
--- a/src/lib/ccapi/include/datastore.h
+++ b/src/lib/ccapi/include/datastore.h
@@ -53,13 +53,6 @@
#include "rpc_auth.h"
#include "generic_lists.h"
-enum cc_list_type {
- generic = 0,
- context,
- cache,
- credentials
-};
-
struct cc_context_iterate_t {
cc_context_list_node_t* next;
};
diff --git a/src/lib/ccapi/include/generic_lists.h b/src/lib/ccapi/include/generic_lists.h
index 4d49e276b..14b7ae28c 100644
--- a/src/lib/ccapi/include/generic_lists.h
+++ b/src/lib/ccapi/include/generic_lists.h
@@ -49,6 +49,13 @@
#ifndef __CC_GENERIC_LISTS_H_
#define __CC_GENERIC_LISTS_H_
+enum cc_list_type {
+ generic = 0,
+ context,
+ cache,
+ credentials
+};
+
struct cc_generic_list_node_t {
cc_uint8* data;
cc_uint32 len;