1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/dbus-1.0/dbus/dbus-address.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,84 @@
1.4 +/* -*- mode: C; c-file-style: "gnu" -*- */
1.5 +/* dbus-address.h Server address parser.
1.6 + *
1.7 + * Copyright (C) 2003 CodeFactory AB
1.8 + * Portion Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.9 + * Licensed under the Academic Free License version 2.1
1.10 + *
1.11 + * This program is free software; you can redistribute it and/or modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.14 + * (at your option) any later version.
1.15 + *
1.16 + * This program is distributed in the hope that it will be useful,
1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.20 + *
1.21 + * You should have received a copy of the GNU General Public License
1.22 + * along with this program; if not, write to the Free Software
1.23 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.24 + *
1.25 + */
1.26 +#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
1.27 +#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
1.28 +#endif
1.29 +
1.30 +#ifndef DBUS_ADDRESS_H
1.31 +#define DBUS_ADDRESS_H
1.32 +
1.33 +#ifdef __SYMBIAN32__
1.34 +#include <dbus/dbus-types.h>
1.35 +#include <dbus/dbus-errors.h>
1.36 +#else
1.37 +#include "dbus/dbus-types.h"
1.38 +#include "dbus/dbus-errors.h"
1.39 +#endif
1.40 +
1.41 +DBUS_BEGIN_DECLS
1.42 +
1.43 +/**
1.44 + * @addtogroup DBusAddress
1.45 + * @{
1.46 + */
1.47 +
1.48 +/** Opaque type representing one of the semicolon-separated items in an address */
1.49 +typedef struct DBusAddressEntry DBusAddressEntry;
1.50 +
1.51 +#ifdef __SYMBIAN32__
1.52 +IMPORT_C
1.53 +#endif
1.54 +dbus_bool_t dbus_parse_address (const char *address,
1.55 + DBusAddressEntry ***entry,
1.56 + int *array_len,
1.57 + DBusError *error);
1.58 +#ifdef __SYMBIAN32__
1.59 +IMPORT_C
1.60 +#endif
1.61 +const char *dbus_address_entry_get_value (DBusAddressEntry *entry,
1.62 + const char *key);
1.63 +#ifdef __SYMBIAN32__
1.64 +IMPORT_C
1.65 +#endif
1.66 +const char *dbus_address_entry_get_method (DBusAddressEntry *entry);
1.67 +#ifdef __SYMBIAN32__
1.68 +IMPORT_C
1.69 +#endif
1.70 +void dbus_address_entries_free (DBusAddressEntry **entries);
1.71 +
1.72 +#ifdef __SYMBIAN32__
1.73 +IMPORT_C
1.74 +#endif
1.75 +char* dbus_address_escape_value (const char *value);
1.76 +#ifdef __SYMBIAN32__
1.77 +IMPORT_C
1.78 +#endif
1.79 +char* dbus_address_unescape_value (const char *value,
1.80 + DBusError *error);
1.81 +
1.82 +/** @} */
1.83 +
1.84 +DBUS_END_DECLS
1.85 +
1.86 +#endif /* DBUS_ADDRESS_H */
1.87 +