| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct CamelNNTPAddress; CamelNNTPAddress * camel_nntp_address_new (void);gint camel_nntp_address_add (CamelNNTPAddress *a,const);gchar *namegboolean camel_nntp_address_get (CamelNNTPAddress *a,,gint indexconst);gchar **namep
CamelNNTPAddress * camel_nntp_address_new (void);
Create a new CamelNNTPAddress object.
Returns : |
A new CamelNNTPAddress object. |
gint camel_nntp_address_add (CamelNNTPAddress *a,const);gchar *name
Add a new nntp address to the address object. Duplicates are not added twice.
|
nntp address object |
Returns : |
Index of added entry, or existing matching entry. |
gboolean camel_nntp_address_get (CamelNNTPAddress *a,,gint indexconst);gchar **namep
Get the address at index.
|
nntp address object |
|
address's array index |
|
Holder for the returned address, or NULL, if not required. |
Returns : |
TRUE if such an address exists, or FALSE otherwise. |