projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[daemon-fix] fixed querying about name information
[platform/upstream/dbus.git]
/
dbus
/
dbus-address.h
diff --git
a/dbus/dbus-address.h
b/dbus/dbus-address.h
index
8940be5
..
e51ef0a
100644
(file)
--- a/
dbus/dbus-address.h
+++ b/
dbus/dbus-address.h
@@
-1,4
+1,4
@@
-/* -*- mode: C; c-file-style: "gnu" -*- */
+/* -*- mode: C; c-file-style: "gnu"
; indent-tabs-mode: nil;
-*- */
/* dbus-address.h Server address parser.
*
* Copyright (C) 2003 CodeFactory AB
/* dbus-address.h Server address parser.
*
* Copyright (C) 2003 CodeFactory AB
@@
-17,7
+17,7
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
*
*/
#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
*
*/
#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
@@
-37,18
+37,25
@@
DBUS_BEGIN_DECLS
* @{
*/
* @{
*/
+/** Opaque type representing one of the semicolon-separated items in an address */
typedef struct DBusAddressEntry DBusAddressEntry;
typedef struct DBusAddressEntry DBusAddressEntry;
+DBUS_EXPORT
dbus_bool_t dbus_parse_address (const char *address,
DBusAddressEntry ***entry,
int *array_len,
DBusError *error);
dbus_bool_t dbus_parse_address (const char *address,
DBusAddressEntry ***entry,
int *array_len,
DBusError *error);
+DBUS_EXPORT
const char *dbus_address_entry_get_value (DBusAddressEntry *entry,
const char *key);
const char *dbus_address_entry_get_value (DBusAddressEntry *entry,
const char *key);
+DBUS_EXPORT
const char *dbus_address_entry_get_method (DBusAddressEntry *entry);
const char *dbus_address_entry_get_method (DBusAddressEntry *entry);
+DBUS_EXPORT
void dbus_address_entries_free (DBusAddressEntry **entries);
void dbus_address_entries_free (DBusAddressEntry **entries);
+DBUS_EXPORT
char* dbus_address_escape_value (const char *value);
char* dbus_address_escape_value (const char *value);
+DBUS_EXPORT
char* dbus_address_unescape_value (const char *value,
DBusError *error);
char* dbus_address_unescape_value (const char *value,
DBusError *error);