quvi Network API

Summary
quvi Network API
Functions
quvi_net_getpropReturns a network property.
quvi_net_setpropSets a network property.
quvi_net_getprop_featReturns a network property feature.
quvi_net_seterrSets a network error message.
Convenience functions
Functions
quvi_net_get_one_prop_featReturns the first matching property feature from the list.

Functions

quvi_net_getprop

QUVIcode quvi_net_getprop(quvi_net_propfeat_t net,
QUVInetProperty property,
 ...)

Returns a network property.

Parameters

netNetwork handle
propertyProperty ID

Returns

Non-zero value if an error occurred.

quvi_net_setprop

QUVIcode quvi_net_setprop(quvi_net_t net,
QUVInetProperty property,
 ...)

Sets a network property.

Parameters

netNetwork handle
propertyProperty ID
...Parameter

Returns

Non-zero value if an error occurred.

quvi_net_getprop_feat

QUVIcode quvi_net_getprop_feat(quvi_net_propfeat_t handle,
QUVInetPropertyFeature feature,
 ...)

Returns a network property feature.

Parameters

handleProperty feature handle
featureProperty feature ID
...Parameter

Returns

Non-zero value if an error occurred.

quvi_net_seterr

QUVIcode quvi_net_seterr(quvi_net_t net,
const char *fmt,
 ...)

Sets a network error message.

Parameters

netNetwork handle
fmtFormat string
...Parameter

Returns

Non-zero value if an error occurred.

Convenience functions

Summary
Functions
quvi_net_get_one_prop_featReturns the first matching property feature from the list.

Functions

quvi_net_get_one_prop_feat

char *quvi_net_get_one_prop_feat(quvi_net_t net,
QUVInetPropertyFeatureName name)

Returns the first matching property feature from the list.  A convenience function that allows finding the feature by an ID rather than a string.

Parameters

netNetwork handle
nameProperty feature ID

Returns

A null-terminated string, otherwise NULL.

See Also

quvi_net_getprop_feat

QUVIcode quvi_net_getprop(quvi_net_propfeat_t net,
QUVInetProperty property,
 ...)
Returns a network property.
QUVIcode quvi_net_setprop(quvi_net_t net,
QUVInetProperty property,
 ...)
Sets a network property.
QUVIcode quvi_net_getprop_feat(quvi_net_propfeat_t handle,
QUVInetPropertyFeature feature,
 ...)
Returns a network property feature.
QUVIcode quvi_net_seterr(quvi_net_t net,
const char *fmt,
 ...)
Sets a network error message.
char *quvi_net_get_one_prop_feat(quvi_net_t net,
QUVInetPropertyFeatureName name)
Returns the first matching property feature from the list.
Close