[couchdb-glib] Hide json-glib from the public headers



commit 6f3a60467023c62301c7b465c4da47b7ed80ca68
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Wed May 12 10:28:17 2010 +0200

    Hide json-glib from the public headers

 couchdb-glib/couchdb-session.h |    8 --------
 couchdb-glib/utils.h           |   11 +++++++++--
 2 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/couchdb-glib/couchdb-session.h b/couchdb-glib/couchdb-session.h
index fd918ec..8abb283 100644
--- a/couchdb-glib/couchdb-session.h
+++ b/couchdb-glib/couchdb-session.h
@@ -26,7 +26,6 @@
 
 #include <glib.h>
 #include <glib-object.h>
-#include <json-glib/json-glib.h>
 #include "couchdb-types.h"
 #include "couchdb-credentials.h"
 #include "couchdb-database-info.h"
@@ -81,13 +80,6 @@ void                 couchdb_session_enable_authentication (CouchdbSession *sess
 void                 couchdb_session_disable_authentication (CouchdbSession *session);
 gboolean             couchdb_session_is_authentication_enabled (CouchdbSession *session);
 
-gboolean             couchdb_session_send_message (CouchdbSession *session,
-						   const char *method,
-						   const char *url,
-						   const char *body,
-						   JsonParser *output,
-						   GError **error);
-
 GSList              *couchdb_session_list_documents (CouchdbSession *session, const char *dbname, GError **error);
 GSList              *couchdb_session_get_all_documents (CouchdbSession *session, const char *dbname, GError **error);
 void                 couchdb_session_free_document_list (GSList *doclist);
diff --git a/couchdb-glib/utils.h b/couchdb-glib/utils.h
index 9ce438e..6d0b1fd 100644
--- a/couchdb-glib/utils.h
+++ b/couchdb-glib/utils.h
@@ -38,8 +38,15 @@ GQuark      couchdb_error_quark (void);
 char* generate_uuid (void);
 
 /* Private API */
-CouchdbDocument  *couchdb_document_new_from_json_object (CouchdbSession *session, JsonObject *json_object);
-JsonObject*	  couchdb_document_get_json_object	(CouchdbDocument *document);
+gboolean            couchdb_session_send_message (CouchdbSession *session,
+						  const char *method,
+						  const char *url,
+						  const char *body,
+						  JsonParser *output,
+						  GError **error);
+
+CouchdbDocument    *couchdb_document_new_from_json_object (CouchdbSession *session, JsonObject *json_object);
+JsonObject*	    couchdb_document_get_json_object	(CouchdbDocument *document);
 
 CouchdbArrayField  *couchdb_array_field_new_from_json_array (JsonArray *json_array);
 JsonArray          *couchdb_array_field_get_json_array (CouchdbArrayField *array);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]