Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLNA-RUI
gupnp
Commits
45ff0c47
Commit
45ff0c47
authored
Feb 03, 2011
by
Jens Georg
Browse files
Don't use anonymous structs for types
Used for *mm bindings
parent
07772f49
Changes
13
Hide whitespace changes
Inline
Side-by-side
libgupnp/gupnp-context-manager.h
View file @
45ff0c47
...
...
@@ -54,6 +54,8 @@ gupnp_context_manager_get_type (void) G_GNUC_CONST;
GUPnPContextManagerClass))
typedef
struct
_GUPnPContextManagerPrivate
GUPnPContextManagerPrivate
;
typedef
struct
_GUPnPContextManager
GUPnPContextManager
;
typedef
struct
_GUPnPContextManagerClass
GUPnPContextManagerClass
;
/**
* GUPnPContextManager:
...
...
@@ -61,13 +63,13 @@ typedef struct _GUPnPContextManagerPrivate GUPnPContextManagerPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPContextManager
{
GObject
parent
;
GUPnPContextManagerPrivate
*
priv
;
}
GUPnPContextManager
;
};
typedef
struct
{
struct
_GUPnPContextManagerClass
{
GObjectClass
parent_class
;
/* future padding */
...
...
@@ -75,7 +77,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPContextManagerClass
;
};
GUPnPContextManager
*
gupnp_context_manager_new
(
GMainContext
*
main_context
,
...
...
libgupnp/gupnp-context.h
View file @
45ff0c47
...
...
@@ -53,6 +53,8 @@ gupnp_context_get_type (void) G_GNUC_CONST;
GUPnPContextClass))
typedef
struct
_GUPnPContextPrivate
GUPnPContextPrivate
;
typedef
struct
_GUPnPContext
GUPnPContext
;
typedef
struct
_GUPnPContextClass
GUPnPContextClass
;
/**
* GUPnPContext:
...
...
@@ -60,13 +62,13 @@ typedef struct _GUPnPContextPrivate GUPnPContextPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struc
t
{
struct
_GUPnPContex
t
{
GSSDPClient
parent
;
GUPnPContextPrivate
*
priv
;
}
GUPnPContext
;
};
typedef
struct
{
struct
_GUPnPContextClass
{
GSSDPClientClass
parent_class
;
/* future padding */
...
...
@@ -74,7 +76,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPContextClass
;
};
GUPnPContext
*
gupnp_context_new
(
GMainContext
*
main_context
,
...
...
libgupnp/gupnp-control-point.h
View file @
45ff0c47
...
...
@@ -56,6 +56,8 @@ gupnp_control_point_get_type (void) G_GNUC_CONST;
GUPnPControlPointClass))
typedef
struct
_GUPnPControlPointPrivate
GUPnPControlPointPrivate
;
typedef
struct
_GUPnPControlPoint
GUPnPControlPoint
;
typedef
struct
_GUPnPControlPointClass
GUPnPControlPointClass
;
/**
* GUPnPControlPoint:
...
...
@@ -63,13 +65,13 @@ typedef struct _GUPnPControlPointPrivate GUPnPControlPointPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struc
t
{
struct
_GUPnPControlPoin
t
{
GSSDPResourceBrowser
parent
;
GUPnPControlPointPrivate
*
priv
;
}
GUPnPControlPoint
;
};
typedef
struct
{
struct
_GUPnPControlPointClass
{
GSSDPResourceBrowserClass
parent_class
;
/* signals */
...
...
@@ -89,7 +91,7 @@ typedef struct {
void
(
*
_gupnp_reserved1
)
(
void
);
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
}
GUPnPControlPointClass
;
};
GUPnPControlPoint
*
gupnp_control_point_new
(
GUPnPContext
*
context
,
...
...
libgupnp/gupnp-device-info.h
View file @
45ff0c47
...
...
@@ -57,6 +57,8 @@ gupnp_device_info_get_type (void) G_GNUC_CONST;
GUPnPDeviceInfoClass))
typedef
struct
_GUPnPDeviceInfoPrivate
GUPnPDeviceInfoPrivate
;
typedef
struct
_GUPnPDeviceInfo
GUPnPDeviceInfo
;
typedef
struct
_GUPnPDeviceInfoClass
GUPnPDeviceInfoClass
;
/**
* GUPnPDeviceInfo:
...
...
@@ -64,13 +66,13 @@ typedef struct _GUPnPDeviceInfoPrivate GUPnPDeviceInfoPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPDeviceInfo
{
GObject
parent
;
GUPnPDeviceInfoPrivate
*
priv
;
}
GUPnPDeviceInfo
;
};
typedef
struct
{
struct
_GUPnPDeviceInfoClass
{
GObjectClass
parent_class
;
/* vtable */
...
...
@@ -85,7 +87,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPDeviceInfoClass
;
};
GUPnPContext
*
...
...
libgupnp/gupnp-device-proxy.h
View file @
45ff0c47
...
...
@@ -51,6 +51,8 @@ gupnp_device_proxy_get_type (void) G_GNUC_CONST;
GUPnPDeviceProxyClass))
typedef
struct
_GUPnPDeviceProxyPrivate
GUPnPDeviceProxyPrivate
;
typedef
struct
_GUPnPDeviceProxy
GUPnPDeviceProxy
;
typedef
struct
_GUPnPDeviceProxyClass
GUPnPDeviceProxyClass
;
/**
* GUPnPDeviceProxy:
...
...
@@ -58,13 +60,13 @@ typedef struct _GUPnPDeviceProxyPrivate GUPnPDeviceProxyPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPDeviceProxy
{
GUPnPDeviceInfo
parent
;
GUPnPDeviceProxyPrivate
*
priv
;
}
GUPnPDeviceProxy
;
};
typedef
struct
{
struct
_GUPnPDeviceProxyClass
{
GUPnPDeviceInfoClass
parent_class
;
/* future padding */
...
...
@@ -72,7 +74,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPDeviceProxyClass
;
};
G_END_DECLS
...
...
libgupnp/gupnp-device.h
View file @
45ff0c47
...
...
@@ -51,6 +51,8 @@ gupnp_device_get_type (void) G_GNUC_CONST;
GUPnPDeviceClass))
typedef
struct
_GUPnPDevicePrivate
GUPnPDevicePrivate
;
typedef
struct
_GUPnPDevice
GUPnPDevice
;
typedef
struct
_GUPnPDeviceClass
GUPnPDeviceClass
;
/**
* GUPnPDevice:
...
...
@@ -58,13 +60,13 @@ typedef struct _GUPnPDevicePrivate GUPnPDevicePrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPDevice
{
GUPnPDeviceInfo
parent
;
GUPnPDevicePrivate
*
priv
;
}
GUPnPDevice
;
};
typedef
struct
{
struct
_GUPnPDeviceClass
{
GUPnPDeviceInfoClass
parent_class
;
/* future padding */
...
...
@@ -72,7 +74,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPDeviceClass
;
};
G_END_DECLS
...
...
libgupnp/gupnp-resource-factory.h
View file @
45ff0c47
...
...
@@ -53,6 +53,8 @@ gupnp_resource_factory_get_type (void) G_GNUC_CONST;
GUPnPResourceFactoryClass))
typedef
struct
_GUPnPResourceFactoryPrivate
GUPnPResourceFactoryPrivate
;
typedef
struct
_GUPnPResourceFactory
GUPnPResourceFactory
;
typedef
struct
_GUPnPResourceFactoryClass
GUPnPResourceFactoryClass
;
/**
* GUPnPResourceFactory:
...
...
@@ -60,13 +62,13 @@ typedef struct _GUPnPResourceFactoryPrivate GUPnPResourceFactoryPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPResourceFactory
{
GObject
parent
;
GUPnPResourceFactoryPrivate
*
priv
;
}
GUPnPResourceFactory
;
};
typedef
struct
{
struct
_GUPnPResourceFactoryClass
{
GObjectClass
parent_class
;
/* future padding */
...
...
@@ -74,7 +76,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPResourceFactoryClass
;
};
GUPnPResourceFactory
*
gupnp_resource_factory_new
(
void
);
...
...
libgupnp/gupnp-root-device.h
View file @
45ff0c47
...
...
@@ -56,6 +56,8 @@ gupnp_root_device_get_type (void) G_GNUC_CONST;
GUPnPRootDeviceClass))
typedef
struct
_GUPnPRootDevicePrivate
GUPnPRootDevicePrivate
;
typedef
struct
_GUPnPRootDevice
GUPnPRootDevice
;
typedef
struct
_GUPnPRootDeviceClass
GUPnPRootDeviceClass
;
/**
* GUPnPRootDevice:
...
...
@@ -63,13 +65,13 @@ typedef struct _GUPnPRootDevicePrivate GUPnPRootDevicePrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPRootDevice
{
GUPnPDevice
parent
;
GUPnPRootDevicePrivate
*
priv
;
}
GUPnPRootDevice
;
};
typedef
struct
{
struct
_GUPnPRootDeviceClass
{
GUPnPDeviceClass
parent_class
;
/* future padding */
...
...
@@ -77,7 +79,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPRootDeviceClass
;
};
GUPnPRootDevice
*
gupnp_root_device_new
(
GUPnPContext
*
context
,
...
...
libgupnp/gupnp-service-info.h
View file @
45ff0c47
...
...
@@ -56,6 +56,8 @@ gupnp_service_info_get_type (void) G_GNUC_CONST;
GUPnPServiceInfoClass))
typedef
struct
_GUPnPServiceInfoPrivate
GUPnPServiceInfoPrivate
;
typedef
struct
_GUPnPServiceInfo
GUPnPServiceInfo
;
typedef
struct
_GUPnPServiceInfoClass
GUPnPServiceInfoClass
;
/**
* GUPnPServiceInfo:
...
...
@@ -63,13 +65,13 @@ typedef struct _GUPnPServiceInfoPrivate GUPnPServiceInfoPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPServiceInfo
{
GObject
parent
;
GUPnPServiceInfoPrivate
*
priv
;
}
GUPnPServiceInfo
;
};
typedef
struct
{
struct
_GUPnPServiceInfoClass
{
GObjectClass
parent_class
;
/* future padding */
...
...
@@ -77,7 +79,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPServiceInfoClass
;
};
/**
* GUPnPServiceIntrospectionCallback
...
...
libgupnp/gupnp-service-introspection.h
View file @
45ff0c47
...
...
@@ -129,6 +129,10 @@ typedef struct {
typedef
struct
_GUPnPServiceIntrospectionPrivate
GUPnPServiceIntrospectionPrivate
;
typedef
struct
_GUPnPServiceIntrospection
GUPnPServiceIntrospection
;
typedef
struct
_GUPnPServiceIntrospectionClass
GUPnPServiceIntrospectionClass
;
/**
* GUPnPServiceIntrospection:
...
...
@@ -136,15 +140,15 @@ typedef struct _GUPnPServiceIntrospectionPrivate
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPServiceIntrospection
{
GObject
parent
;
GUPnPServiceIntrospectionPrivate
*
priv
;
}
GUPnPServiceIntrospection
;
};
typedef
struct
{
struct
_GUPnPServiceIntrospectionClass
{
GObjectClass
parent_class
;
}
GUPnPServiceIntrospectionClass
;
};
const
GList
*
gupnp_service_introspection_list_action_names
...
...
libgupnp/gupnp-service-proxy.h
View file @
45ff0c47
...
...
@@ -52,6 +52,8 @@ gupnp_service_proxy_get_type (void) G_GNUC_CONST;
GUPnPServiceProxyClass))
typedef
struct
_GUPnPServiceProxyPrivate
GUPnPServiceProxyPrivate
;
typedef
struct
_GUPnPServiceProxy
GUPnPServiceProxy
;
typedef
struct
_GUPnPServiceProxyClass
GUPnPServiceProxyClass
;
/**
* GUPnPServiceProxy:
...
...
@@ -59,13 +61,13 @@ typedef struct _GUPnPServiceProxyPrivate GUPnPServiceProxyPrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPServiceProxy
{
GUPnPServiceInfo
parent
;
GUPnPServiceProxyPrivate
*
priv
;
}
GUPnPServiceProxy
;
};
typedef
struct
{
struct
_GUPnPServiceProxyClass
{
GUPnPServiceInfoClass
parent_class
;
/* signals */
...
...
@@ -77,7 +79,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPServiceProxyClass
;
};
/**
* GUPnPServiceProxyAction
...
...
libgupnp/gupnp-service.h
View file @
45ff0c47
...
...
@@ -65,6 +65,8 @@ gupnp_service_action_get_type (void) G_GNUC_CONST;
#define GUPNP_TYPE_SERVICE_ACTION (gupnp_service_action_get_type ())
typedef
struct
_GUPnPServicePrivate
GUPnPServicePrivate
;
typedef
struct
_GUPnPService
GUPnPService
;
typedef
struct
_GUPnPServiceClass
GUPnPServiceClass
;
/**
* GUPnPService:
...
...
@@ -72,13 +74,13 @@ typedef struct _GUPnPServicePrivate GUPnPServicePrivate;
* This struct contains private data only, and should be accessed using the
* functions below.
*/
typedef
struct
{
struct
_GUPnPService
{
GUPnPServiceInfo
parent
;
GUPnPServicePrivate
*
priv
;
}
GUPnPService
;
};
typedef
struct
{
struct
_GUPnPServiceClass
{
GUPnPServiceInfoClass
parent_class
;
void
(
*
action_invoked
)
(
GUPnPService
*
service
,
...
...
@@ -97,7 +99,7 @@ typedef struct {
void
(
*
_gupnp_reserved2
)
(
void
);
void
(
*
_gupnp_reserved3
)
(
void
);
void
(
*
_gupnp_reserved4
)
(
void
);
}
GUPnPServiceClass
;
};
GType
...
...
libgupnp/gupnp-xml-doc.h
View file @
45ff0c47
...
...
@@ -52,15 +52,18 @@ gupnp_xml_doc_get_type (void) G_GNUC_CONST;
GUPNP_TYPE_XML_DOC, \
GUPnPXMLDocClass))
typedef
struct
{
typedef
struct
_GUPnPXMLDoc
GUPnPXMLDoc
;
typedef
struct
_GUPnPXMLDocClass
GUPnPXMLDocClass
;
struct
_GUPnPXMLDoc
{
GObject
parent
;
/*< public >*/
xmlDoc
*
doc
;
}
GUPnPXMLDoc
;
};
typedef
struct
{
struct
_GUPnPXMLDocClass
{
GObjectClass
parent_class
;
}
GUPnPXMLDocClass
;
};
GUPnPXMLDoc
*
gupnp_xml_doc_new
(
xmlDoc
*
xml_doc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment