gmime-object

Name

gmime-object -- 

Synopsis



#define     GMIME_OBJECT                    (object)
struct      GMimeObject;
void        g_mime_object_construct         (GMimeObject *object,
                                             GMimeObject *object_template,
                                             unsigned int type);
void        g_mime_object_ref               (GMimeObject *object);
void        g_mime_object_unref             (GMimeObject *object);

Description

Details

GMIME_OBJECT()

#define GMIME_OBJECT(object) ((GMimeObject *) object)

object : 


struct GMimeObject

struct GMimeObject {
	unsigned int type;
	int refcount;
	
	void (*destroy) (GMimeObject *object);
};


g_mime_object_construct ()

void        g_mime_object_construct         (GMimeObject *object,
                                             GMimeObject *object_template,
                                             unsigned int type);

Initializes a new object of type type, using the virtual methods from object_template.

object : object
object_template : object template
type : object type


g_mime_object_ref ()

void        g_mime_object_ref               (GMimeObject *object);

Ref's an object.

object : object


g_mime_object_unref ()

void        g_mime_object_unref             (GMimeObject *object);

Unref's an object.

object : object