/usr/include/evolution-data-server/camel/camel-name-value-array.h is in libcamel1.2-dev 3.28.1-1ubuntu1.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2016 Red Hat, Inc. (www.redhat.com)
*
* This library is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This library 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 Lesser 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, see <http://www.gnu.org/licenses/>.
*/
#if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
#error "Only <camel/camel.h> can be included directly."
#endif
#ifndef CAMEL_NAME_VALUE_ARRAY_H
#define CAMEL_NAME_VALUE_ARRAY_H
#include <glib-object.h>
#include <camel/camel-enums.h>
G_BEGIN_DECLS
/**
* CamelNameValueArray:
*
* Since: 3.24
**/
struct _CamelNameValueArray;
typedef struct _CamelNameValueArray CamelNameValueArray;
#define CAMEL_TYPE_NAME_VALUE_ARRAY (camel_name_value_array_get_type ())
GType camel_name_value_array_get_type (void) G_GNUC_CONST;
CamelNameValueArray *
camel_name_value_array_new (void);
CamelNameValueArray *
camel_name_value_array_new_sized
(guint reserve_size);
CamelNameValueArray *
camel_name_value_array_copy (const CamelNameValueArray *array);
void camel_name_value_array_free (CamelNameValueArray *array);
guint camel_name_value_array_get_length
(const CamelNameValueArray *array);
gboolean camel_name_value_array_get (const CamelNameValueArray *array,
guint index,
const gchar **out_name,
const gchar **out_value);
const gchar * camel_name_value_array_get_named
(const CamelNameValueArray *array,
CamelCompareType compare_type,
const gchar *name);
const gchar * camel_name_value_array_get_name (const CamelNameValueArray *array,
guint index);
const gchar * camel_name_value_array_get_value
(const CamelNameValueArray *array,
guint index);
void camel_name_value_array_append (CamelNameValueArray *array,
const gchar *name,
const gchar *value);
gboolean camel_name_value_array_set (CamelNameValueArray *array,
guint index,
const gchar *name,
const gchar *value);
gboolean camel_name_value_array_set_name (CamelNameValueArray *array,
guint index,
const gchar *name);
gboolean camel_name_value_array_set_value
(CamelNameValueArray *array,
guint index,
const gchar *value);
gboolean camel_name_value_array_set_named
(CamelNameValueArray *array,
CamelCompareType compare_type,
const gchar *name,
const gchar *value);
gboolean camel_name_value_array_remove (CamelNameValueArray *array,
guint index);
guint camel_name_value_array_remove_named
(CamelNameValueArray *array,
CamelCompareType compare_type,
const gchar *name,
gboolean all_occurrences);
void camel_name_value_array_clear (CamelNameValueArray *array);
gboolean camel_name_value_array_equal (const CamelNameValueArray *array_a,
const CamelNameValueArray *array_b,
CamelCompareType compare_type);
G_END_DECLS
#endif /* CAMEL_NAME_VALUE_ARRAY_H */
|