/usr/include/couchdb-glib-1.0/couchdb-database-info.h is in libcouchdb-glib-dev 0.7.4-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2009 Canonical Services Ltd (www.canonical.com)
* 2009 Mikkel Kamstrup Erlandsen
*
* Authors: Rodrigo Moya <rodrigo.moya@canonical.com>
* Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __COUCHDB_DATABASE_INFO_H__
#define __COUCHDB_DATABASE_INFO_H__
#include <glib.h>
#include <glib-object.h>
#include "couchdb-types.h"
G_BEGIN_DECLS
#define COUCHDB_TYPE_DATABASE_INFO (couchdb_database_info_get_type ())
/*
* CouchdbDatabaseInfo
*/
GType couchdb_database_info_get_type (void);
CouchdbDatabaseInfo *couchdb_database_info_ref (CouchdbDatabaseInfo *dbinfo);
void couchdb_database_info_unref (CouchdbDatabaseInfo *dbinfo);
const char *couchdb_database_info_get_dbname (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_deleted_documents_count (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_disk_format_version (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_disk_size (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_documents_count (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_instance_start_time (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_purge_sequence (CouchdbDatabaseInfo *dbinfo);
gint couchdb_database_info_get_update_sequence (CouchdbDatabaseInfo *dbinfo);
gboolean couchdb_database_info_is_compact_running (CouchdbDatabaseInfo *dbinfo);
CouchdbDatabaseInfo* couchdb_database_info_new (const char *dbname,
gint doc_count,
gint doc_del_count,
gint update_seq,
gint purse_seq,
gboolean compact_running,
gint disk_size,
gint disk_format_version,
gint instance_start_time);
G_END_DECLS
#endif /* __COUCHDB_DATABASE_INFO_H__ */
|