Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

gtask-error-packet.c File Reference

#include <gtask/gtask-error-packet.h>

Go to the source code of this file.

Functions

void gtask_error_packet_class_init (GTaskErrorPacketClass *klass)
void gtask_error_packet_init (GTaskErrorPacket *packet, gpointer g_class)
void gtask_error_packet_finalize (GObject *obj)
gboolean gtask_error_packet_serialize_to (GTaskPacket *packet, GTaskConnection *conn)
 writes out the xml form of the passed in GTaskErrorPacket to the passed in GTaskConnection. In general this function should never be called, except from within the library. To serialize any packet call gtask_packet_serialize( GTaskPacket * ) instead.

GType gtask_error_packet_get_type (void)
GTaskErrorPacketgtask_error_packet_new ()
 creates a new GTaskErrorPacket

GTaskErrorType gtask_error_packet_get_error_type (GTaskErrorPacket *packet)
 returns the error type of the passed in GTaskErrorPacket

void gtask_error_packet_set_error_type (GTaskErrorPacket *packet, GTaskErrorType error)
 sets the error type of the passed in GTaskErrorPacket

const char * gtask_error_packet_get_error_message (GTaskErrorPacket *packet)
 returns a readable error message for the type of error

void gtask_error_packet_set_error_message (GTaskErrorPacket *packet, const char *error_msg)
 sets the readable error message for the type of error


Variables

gpointer parent_class


Generated on Mon Feb 2 21:26:15 2004 for libgtask by doxygen 1.3.4