![]() |
![]() |
![]() |
Camel Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
CamelNNTPAddress; CamelNNTPAddress * camel_nntp_address_new (void); int camel_nntp_address_add (CamelNNTPAddress *a, const char *name); gboolean camel_nntp_address_get (const CamelNNTPAddress *a, int index, const char **namep);
typedef struct { CamelAddress parent; struct _CamelNNTPAddressPrivate *priv; } CamelNNTPAddress;
CamelNNTPAddress * camel_nntp_address_new (void);
Create a new CamelNNTPAddress object.
Returns : |
A new CamelNNTPAddress object. |
int camel_nntp_address_add (CamelNNTPAddress *a, const char *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 (const CamelNNTPAddress *a, int index, const char **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. |