summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-09-07 23:04:54 +0000
committerHavoc Pennington <hp@redhat.com>2003-09-07 23:04:54 +0000
commit85ab0327d82e4945ad16630e583d8cc68df25a90 (patch)
tree265a2058810fbe8bd68aa709dc04bafda086c67e /bus
parent32bd6660e07696ed99bfa60b08700e8eae3e96b1 (diff)
2003-09-07 Havoc Pennington <hp@pobox.com>
* Make Doxygen contented.
Diffstat (limited to 'bus')
-rw-r--r--bus/config-parser.c5
-rw-r--r--bus/desktop-file.c14
-rw-r--r--bus/services.c8
3 files changed, 19 insertions, 8 deletions
diff --git a/bus/config-parser.c b/bus/config-parser.c
index 2a7d0752..cbc239f9 100644
--- a/bus/config-parser.c
+++ b/bus/config-parser.c
@@ -88,9 +88,12 @@ typedef struct
} Element;
+/**
+ * Parser for bus configuration file.
+ */
struct BusConfigParser
{
- int refcount;
+ int refcount; /**< Reference count */
DBusString basedir; /**< Directory we resolve paths relative to */
diff --git a/bus/desktop-file.c b/bus/desktop-file.c
index 08af768e..dd621214 100644
--- a/bus/desktop-file.c
+++ b/bus/desktop-file.c
@@ -48,15 +48,19 @@ struct BusDesktopFile
int n_allocated_sections;
};
+/**
+ * Parser for service files.
+ */
typedef struct
{
- DBusString data;
+ DBusString data; /**< The data from the file */
- BusDesktopFile *desktop_file;
- int current_section;
+ BusDesktopFile *desktop_file; /**< The resulting object */
+ int current_section; /**< The current section being parsed */
- int pos, len;
- int line_num;
+ int pos; /**< Current position */
+ int len; /**< Length */
+ int line_num; /**< Current line number */
} BusDesktopFileParser;
diff --git a/bus/services.c b/bus/services.c
index 5148f1f1..84cabe21 100644
--- a/bus/services.c
+++ b/bus/services.c
@@ -417,10 +417,14 @@ bus_service_relink (BusService *service,
bus_service_ref (service);
}
+/**
+ * Data used to represent an ownership cancellation in
+ * a bus transaction.
+ */
typedef struct
{
- DBusConnection *connection;
- BusService *service;
+ DBusConnection *connection; /**< the connection */
+ BusService *service; /**< service to cancel ownership of */
} OwnershipCancelData;
static void