]> git.meshlink.io Git - catta/commitdiff
remove _ prefix from structure name (for doxygen)
authorLennart Poettering <lennart@poettering.net>
Sat, 7 May 2005 13:57:19 +0000 (13:57 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 7 May 2005 13:57:19 +0000 (13:57 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@64 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

13 files changed:
avahi-core/announce.h
avahi-core/cache.h
avahi-core/core.h
avahi-core/dns.h
avahi-core/iface.h
avahi-core/netlink.c
avahi-core/netlink.h
avahi-core/prioq.h
avahi-core/psched.h
avahi-core/server.h
avahi-core/strlst.h
avahi-core/subscribe.h
avahi-core/timeeventq.h

index 71b2f034a32451ac1abf11f1591349d53c039525..389c7ca37c4d60505750ae630ebc84d91e2ba3a5 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <glib.h>
 
-typedef struct _AvahiAnnouncement AvahiAnnouncement;
+typedef struct AvahiAnnouncement AvahiAnnouncement;
 
 #include "llist.h"
 #include "iface.h"
@@ -38,7 +38,7 @@ typedef enum {
     AVAHI_ESTABLISHED
 } AvahiAnnouncementState;
 
-struct _AvahiAnnouncement {
+struct AvahiAnnouncement {
     AvahiServer *server;
     AvahiInterface *interface;
     AvahiEntry *entry;
index d64b3eeb5268cf496be842990e8a3d13c869fb5f..3f05b8e11c335e28e9f013d893cf8ced3b314752 100644 (file)
@@ -24,8 +24,7 @@
 
 #include <glib.h>
 
-struct _AvahiCache;
-typedef struct _AvahiCache AvahiCache;
+typedef struct AvahiCache AvahiCache;
 
 #include "prioq.h"
 #include "server.h"
@@ -57,7 +56,7 @@ struct AvahiCacheEntry {
     AVAHI_LLIST_FIELDS(AvahiCacheEntry, entry);
 };
 
-struct _AvahiCache {
+struct AvahiCache {
     AvahiServer *server;
     
     AvahiInterface *interface;
index 750dee1eac84d9e56de4d48a6c5ef155ef16fa99..42e6ee09e2b233c9762ede05608265f3f5e41f33 100644 (file)
@@ -25,9 +25,9 @@
 #include <stdio.h>
 #include <glib.h>
 
-typedef struct _AvahiServer AvahiServer;
-typedef struct _AvahiEntry AvahiEntry;
-typedef struct _AvahiEntryGroup AvahiEntryGroup;
+typedef struct AvahiServer AvahiServer;
+typedef struct AvahiEntry AvahiEntry;
+typedef struct AvahiEntryGroup AvahiEntryGroup;
 
 #include <avahi-core/address.h>
 #include <avahi-core/rr.h>
@@ -154,7 +154,7 @@ typedef enum {
     AVAHI_SUBSCRIPTION_CHANGE
 } AvahiSubscriptionEvent;
 
-typedef struct _AvahiSubscription AvahiSubscription;
+typedef struct AvahiSubscription AvahiSubscription;
 
 typedef void (*AvahiSubscriptionCallback)(AvahiSubscription *s, AvahiRecord *record, gint interface, guchar protocol, AvahiSubscriptionEvent event, gpointer userdata);
 
index 61a9cb613633420b67cccbfd98446dc88fd71426..7936baedb03a593b205562f03bbb5872be8190af 100644 (file)
@@ -29,7 +29,7 @@
 #define AVAHI_DNS_PACKET_MAX_SIZE 9000
 #define AVAHI_DNS_PACKET_HEADER_SIZE 12
 
-typedef struct _AvahiDnsPacket {
+typedef struct AvahiDnsPacket {
     guint size, rindex, max_size;
     GHashTable *name_table; /* for name compression */
 } AvahiDnsPacket;
index 74136aa45e3c9968285ac729d8c1b6d70d9e7ff5..bedf33189bd8c4d7dec91c2b861aee31de4107fc 100644 (file)
 
 #include <glib.h>
 
-typedef struct _AvahiInterfaceMonitor AvahiInterfaceMonitor;
-typedef struct _AvahiInterfaceAddress AvahiInterfaceAddress;
-typedef struct _AvahiInterface AvahiInterface;
-typedef struct _AvahiHwInterface AvahiHwInterface;
+typedef struct AvahiInterfaceMonitor AvahiInterfaceMonitor;
+typedef struct AvahiInterfaceAddress AvahiInterfaceAddress;
+typedef struct AvahiInterface AvahiInterface;
+typedef struct AvahiHwInterface AvahiHwInterface;
 
 #include "address.h"
 #include "server.h"
@@ -38,7 +38,7 @@ typedef struct _AvahiHwInterface AvahiHwInterface;
 #include "dns.h"
 #include "announce.h"
 
-struct _AvahiInterfaceMonitor {
+struct AvahiInterfaceMonitor {
     AvahiServer *server;
     AvahiNetlink *netlink;
     GHashTable *hash_table;
@@ -55,7 +55,7 @@ struct _AvahiInterfaceMonitor {
     } list;
 };
 
-struct _AvahiHwInterface {
+struct AvahiHwInterface {
     AVAHI_LLIST_FIELDS(AvahiHwInterface, hardware);
     AvahiInterfaceMonitor *monitor;
 
@@ -67,7 +67,7 @@ struct _AvahiHwInterface {
     AVAHI_LLIST_HEAD(AvahiInterface, interfaces);
 };
 
-struct _AvahiInterface {
+struct AvahiInterface {
     AVAHI_LLIST_FIELDS(AvahiInterface, interface);
     AVAHI_LLIST_FIELDS(AvahiInterface, by_hardware);
     AvahiInterfaceMonitor *monitor;
@@ -83,7 +83,7 @@ struct _AvahiInterface {
     AVAHI_LLIST_HEAD(AvahiAnnouncement, announcements);
 };
 
-struct _AvahiInterfaceAddress {
+struct AvahiInterfaceAddress {
     AVAHI_LLIST_FIELDS(AvahiInterfaceAddress, address);
     AvahiInterfaceMonitor *monitor;
     
index 92ed4367e40943c8f6a0d6d4d7ac926fdf4a5443..e3cc3fa1a4614d4a90920d7d498a5d5243ddbc79 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "netlink.h"
 
-struct _AvahiNetlink {
+struct AvahiNetlink {
     GMainContext *context;
     gint fd;
     guint seq;
index f6be54af17e0911b821b029e2be5448359cf1c86..748eb5d9514ce9c8568f05d93bf558d9283e8bd1 100644 (file)
@@ -28,8 +28,7 @@
 
 #include <glib.h>
 
-struct _AvahiNetlink;
-typedef struct _AvahiNetlink AvahiNetlink;
+typedef struct AvahiNetlink AvahiNetlink;
 
 AvahiNetlink *avahi_netlink_new(GMainContext *c, gint priority, guint32 groups, void (*cb) (AvahiNetlink *n, struct nlmsghdr *m, gpointer userdata), gpointer userdata);
 void avahi_netlink_free(AvahiNetlink *n);
index 66510713432b096c4ff33f137868647b529842c3..e6105d8ffd3812de297e758672b6df3e623d2ba3 100644 (file)
 
 #include <glib.h>
 
-struct _AvahiPrioQueue;
-typedef struct _AvahiPrioQueue AvahiPrioQueue;
+typedef struct AvahiPrioQueue AvahiPrioQueue;
 
-struct _AvahiPrioQueueNode;
-typedef struct _AvahiPrioQueueNode AvahiPrioQueueNode;
+typedef struct AvahiPrioQueueNode AvahiPrioQueueNode;
 
-struct _AvahiPrioQueue {
+struct AvahiPrioQueue {
     AvahiPrioQueueNode *root, *last;
     
     guint n_nodes;
     gint (*compare) (gconstpointer a, gconstpointer b);
 };
 
-struct _AvahiPrioQueueNode {
+struct AvahiPrioQueueNode {
     AvahiPrioQueue *queue;
     gpointer data;
     guint x, y;
index 72f8ef0a6970d3dbb07530d6c8e1becbb195042e..fe621ca0227188ae759b69b10bdfdd05fca6e7eb 100644 (file)
   USA.
 ***/
 
-typedef struct _AvahiQueryJob AvahiQueryJob;
-typedef struct _AvahiResponseJob AvahiResponseJob;
-typedef struct _AvahiPacketScheduler AvahiPacketScheduler;
-typedef struct _AvahiKnownAnswer AvahiKnownAnswer;
-typedef struct _AvahiProbeJob AvahiProbeJob;
+typedef struct AvahiQueryJob AvahiQueryJob;
+typedef struct AvahiResponseJob AvahiResponseJob;
+typedef struct AvahiPacketScheduler AvahiPacketScheduler;
+typedef struct AvahiKnownAnswer AvahiKnownAnswer;
+typedef struct AvahiProbeJob AvahiProbeJob;
 
 #include "timeeventq.h"
 #include "rr.h"
 #include "llist.h"
 #include "iface.h"
 
-struct _AvahiQueryJob {
+struct AvahiQueryJob {
     AvahiPacketScheduler *scheduler;
     AvahiTimeEvent *time_event;
     AvahiKey *key;
@@ -42,7 +42,7 @@ struct _AvahiQueryJob {
     AVAHI_LLIST_FIELDS(AvahiQueryJob, jobs);
 };
 
-struct _AvahiResponseJob {
+struct AvahiResponseJob {
     AvahiPacketScheduler *scheduler;
     AvahiTimeEvent *time_event;
     AvahiRecord *record;
@@ -54,14 +54,14 @@ struct _AvahiResponseJob {
     AVAHI_LLIST_FIELDS(AvahiResponseJob, jobs);
 };
 
-struct _AvahiKnownAnswer {
+struct AvahiKnownAnswer {
     AvahiPacketScheduler *scheduler;
     AvahiRecord *record;
 
     AVAHI_LLIST_FIELDS(AvahiKnownAnswer, known_answer);
 };
 
-struct _AvahiProbeJob {
+struct AvahiProbeJob {
     AvahiPacketScheduler *scheduler;
     AvahiTimeEvent *time_event;
     AvahiRecord *record;
@@ -72,7 +72,7 @@ struct _AvahiProbeJob {
     AVAHI_LLIST_FIELDS(AvahiProbeJob, jobs);
 };
 
-struct _AvahiPacketScheduler {
+struct AvahiPacketScheduler {
     AvahiServer *server;
     
     AvahiInterface *interface;
index 4290cb01fc7e84674d6bad47772807bee8fef69b..676788489fc4d6f309609f1129db01c3e0fe9aec 100644 (file)
@@ -30,7 +30,7 @@
 #include "announce.h"
 #include "subscribe.h"
 
-struct _AvahiEntry {
+struct AvahiEntry {
     AvahiServer *server;
     AvahiEntryGroup *group;
 
@@ -48,7 +48,7 @@ struct _AvahiEntry {
     AVAHI_LLIST_HEAD(AvahiAnnouncement, announcements);
 };
 
-struct _AvahiEntryGroup {
+struct AvahiEntryGroup {
     AvahiServer *server;
     gboolean dead;
 
@@ -62,7 +62,7 @@ struct _AvahiEntryGroup {
     AVAHI_LLIST_HEAD(AvahiEntry, entries);
 };
 
-struct _AvahiServer {
+struct AvahiServer {
     GMainContext *context;
     AvahiInterfaceMonitor *monitor;
 
index 42377c0c6c7c5cca77d28fdc528a847cb6699e3a..80dfc2c891286e75654fd3e29763b45cf797787f 100644 (file)
 
 #include <glib.h>
 
-typedef struct _AvahiStringList AvahiStringList;
-
-struct _AvahiStringList {
-    AvahiStringList *next;
+typedef struct AvahiStringList {
+    struct AvahiStringList *next;
     guint size;
     guint8 text[1];
-};
+} AvahiStringList;
 
 AvahiStringList *avahi_string_list_new(const gchar *txt, ...);
 AvahiStringList *avahi_string_list_new_va(va_list va);
index 807e79e925ee26c36025e17acba62329219903f0..0290085a4004c3485253f961e2b602fed2866a74 100644 (file)
@@ -28,7 +28,7 @@
 #include "timeeventq.h"
 #include "server.h"
 
-struct _AvahiSubscription {
+struct AvahiSubscription {
     AvahiServer *server;
     AvahiKey *key;
     gint interface;
index 26ced90265381ffc604d00e910e97dc3df1bbcd8..4a668c0451414983d16515079226be8333c25ccf 100644 (file)
   USA.
 ***/
 
-typedef struct _AvahiTimeEventQueue AvahiTimeEventQueue;
-typedef struct _AvahiTimeEvent AvahiTimeEvent;
+typedef struct AvahiTimeEventQueue AvahiTimeEventQueue;
+typedef struct AvahiTimeEvent AvahiTimeEvent;
 
 #include "prioq.h"
 
-struct _AvahiTimeEvent {
+struct AvahiTimeEvent {
     AvahiTimeEventQueue *queue;
     AvahiPrioQueueNode *node;
     GTimeVal expiry;
@@ -35,7 +35,7 @@ struct _AvahiTimeEvent {
     void *userdata;
 };
 
-struct _AvahiTimeEventQueue {
+struct AvahiTimeEventQueue {
     GSource source;
     AvahiPrioQueue *prioq;
 };