nntpconnection.h File Reference

#include "configuration.h"
#include "nntpgrab_plugin_base.h"
#include "collections.h"

Go to the source code of this file.


Defines

#define  NNTPCONNECTION_TYPE_OBJECT   (nntpconnection_get_type ())
#define  NNTPCONNECTION(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), NNTPCONNECTION_TYPE_OBJECT, NNTPConnection))
#define  NNTPCONNECTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), NNTPCONNECTION_TYPE_OBJECT, NNTPConnectionClass))
#define  IS_NNTPCONNECTION(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), NNTPCONNECTION_TYPE_OBJECT))
#define  IS_NNTPCONNECTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), NNTPCONNECTION_TYPE_OBJECT))
#define  NNTPCONNECTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), NNTPCONNECTION_TYPE_OBJECT, NNTPConnectionClass))

Typedefs

typedef struct NNTPConnection  NNTPConnection

Functions

gboolean  nntpconnection_initialize (char **errmsg)
NNTPConnection *  nntpconnection_new (Configuration *config, ConfigServer server)
void  nntpconnection_destroy (NNTPConnection *obj)
NNTPGrabErrCode  nntpconnection_connect (NNTPConnection *obj)
void  nntpconnection_disconnect (NNTPConnection *obj)
gboolean  nntpconnection_get_is_connected (NNTPConnection *obj)
NNTPGrabErrCode  nntpconnection_get_part (NNTPConnection *obj, const char *collection_name, const char *subject, const NNTPPart *part, const char *filename)
gboolean  nntpconnection_group (NNTPConnection *obj, int conn_id, const char *newsgroup)
gboolean  nntpconnection_xover (NNTPConnection *obj, gboolean full_update)
int  nntpconnection_get_conn_id (NNTPConnection *obj)

Define Documentation

#define IS_NNTPCONNECTION ( object   )     (G_TYPE_CHECK_INSTANCE_TYPE ((object), NNTPCONNECTION_TYPE_OBJECT))

#define IS_NNTPCONNECTION_CLASS ( klass   )     (G_TYPE_CHECK_CLASS_TYPE ((klass), NNTPCONNECTION_TYPE_OBJECT))

#define NNTPCONNECTION ( object   )     (G_TYPE_CHECK_INSTANCE_CAST ((object), NNTPCONNECTION_TYPE_OBJECT, NNTPConnection))

#define NNTPCONNECTION_CLASS ( klass   )     (G_TYPE_CHECK_CLASS_CAST ((klass), NNTPCONNECTION_TYPE_OBJECT, NNTPConnectionClass))

#define NNTPCONNECTION_GET_CLASS ( obj   )     (G_TYPE_INSTANCE_GET_CLASS ((obj), NNTPCONNECTION_TYPE_OBJECT, NNTPConnectionClass))

#define NNTPCONNECTION_TYPE_OBJECT   (nntpconnection_get_type ())


Typedef Documentation

typedef struct NNTPConnection NNTPConnection


Function Documentation

NNTPGrabErrCode nntpconnection_connect ( NNTPConnection *  obj  ) 

void nntpconnection_destroy ( NNTPConnection *  obj  ) 

void nntpconnection_disconnect ( NNTPConnection *  obj  ) 

int nntpconnection_get_conn_id ( NNTPConnection *  obj  ) 

gboolean nntpconnection_get_is_connected ( NNTPConnection *  obj  ) 

NNTPGrabErrCode nntpconnection_get_part ( NNTPConnection *  obj,
const char *  collection_name,
const char *  subject,
const NNTPPart part,
const char *  filename  
)

gboolean nntpconnection_group ( NNTPConnection *  obj,
int  conn_id,
const char *  newsgroup  
)

gboolean nntpconnection_initialize ( char **  errmsg  ) 

NNTPConnection* nntpconnection_new ( Configuration config,
ConfigServer  server  
)

gboolean nntpconnection_xover ( NNTPConnection *  obj,
gboolean  full_update  
)


Generated on Thu May 21 21:25:05 2009 for NNTPGrab by  1.5.4