![]() | ![]() | ![]() | Tentacles Reference Manual | ![]() |
---|
tnt-bandwidth-group-list —
#define TNT_BANDWIDTH_GROUP_LIST (object) struct TntBandwidthGroupList; void tnt_bandwidth_group_list_init (TntBandwidthGroupList *bwgl); TntBandwidthGroupList* tnt_bandwidth_group_list_new (void); void tnt_bandwidth_group_list_finalize (FluxObject *bwgl); void tnt_bandwidth_group_list_add_group_add_func (TntBandwidthGroupList *bwgl, TntBandwidthGroupListFunc *func, gpointer data); void tnt_bandwidth_group_list_add_group_update_func (TntBandwidthGroupList *bwgl, TntBandwidthGroupListFunc *func, gpointer data); void tnt_bandwidth_group_list_add_group_remove_func (TntBandwidthGroupList *bwgl, TntBandwidthGroupListFunc *func, gpointer data); void tnt_bandwidth_group_list_add_group_action_func (TntBandwidthGroupList *bwgl, TntBandwidthActionFunc *func, gpointer data); void tnt_bandwidth_group_list_remove_group_func (TntBandwidthGroupList *bwgl, gpointer func, gpointer data); void tnt_bandwidth_group_list_updated (TntBandwidthGroupList *bwgl, gint group_n); gint tnt_bandwidth_group_list_get_n_groups (TntBandwidthGroupList *bwgl); TntBandwidthGroup* tnt_bandwidth_group_list_get_group_n (TntBandwidthGroupList *bwgl, gint group_n); gint tnt_bandwidth_group_list_add_group (TntBandwidthGroupList *bwgl, TntBandwidthGroup *group); void tnt_bandwidth_group_list_remove_group (TntBandwidthGroupList *bwgl, TntBandwidthGroup *group); TntBandwidthGroup* tnt_bandwidth_group_list_find_group_by_edge (TntBandwidthGroupList *bwgl, TntEdge *edge); gboolean tnt_bandwidth_group_list_add_edge (TntBandwidthGroupList *bwgl, TntEdge *edge); gboolean tnt_bandwidth_group_list_remove_edge (TntBandwidthGroupList *bwgl, TntEdge *edge); TntBandwidthGroup* tnt_bandwidth_group_list_find_group_by_ip (TntBandwidthGroupList *bwgl, TntNodeIP4 ip);
#define TNT_BANDWIDTH_GROUP_LIST(object) ((TntBandwidthGroupList *) object)
object : |
struct TntBandwidthGroupList { FluxObject object; GSList *group_add_funcs; GSList *group_update_funcs; GSList *group_remove_funcs; GSList *group_action_funcs; GSList *groups; gint iterate_id; };
void tnt_bandwidth_group_list_init (TntBandwidthGroupList *bwgl);
bwgl : |
TntBandwidthGroupList* tnt_bandwidth_group_list_new (void);
Returns : |
void tnt_bandwidth_group_list_finalize (FluxObject *bwgl);
bwgl : |
void tnt_bandwidth_group_list_add_group_add_func (TntBandwidthGroupList *bwgl, TntBandwidthGroupListFunc *func, gpointer data);
bwgl : | |
func : | |
data : |
void tnt_bandwidth_group_list_add_group_update_func (TntBandwidthGroupList *bwgl, TntBandwidthGroupListFunc *func, gpointer data);
bwgl : | |
func : | |
data : |
void tnt_bandwidth_group_list_add_group_remove_func (TntBandwidthGroupList *bwgl, TntBandwidthGroupListFunc *func, gpointer data);
bwgl : | |
func : | |
data : |
void tnt_bandwidth_group_list_add_group_action_func (TntBandwidthGroupList *bwgl, TntBandwidthActionFunc *func, gpointer data);
bwgl : | |
func : | |
data : |
void tnt_bandwidth_group_list_remove_group_func (TntBandwidthGroupList *bwgl, gpointer func, gpointer data);
bwgl : | |
func : | |
data : |
void tnt_bandwidth_group_list_updated (TntBandwidthGroupList *bwgl, gint group_n);
bwgl : | |
group_n : |
gint tnt_bandwidth_group_list_get_n_groups (TntBandwidthGroupList *bwgl);
bwgl : | |
Returns : |
TntBandwidthGroup* tnt_bandwidth_group_list_get_group_n (TntBandwidthGroupList *bwgl, gint group_n);
bwgl : | |
group_n : | |
Returns : |
gint tnt_bandwidth_group_list_add_group (TntBandwidthGroupList *bwgl, TntBandwidthGroup *group);
bwgl : | |
group : | |
Returns : |
void tnt_bandwidth_group_list_remove_group (TntBandwidthGroupList *bwgl, TntBandwidthGroup *group);
bwgl : | |
group : |
TntBandwidthGroup* tnt_bandwidth_group_list_find_group_by_edge (TntBandwidthGroupList *bwgl, TntEdge *edge);
bwgl : | |
edge : | |
Returns : |
gboolean tnt_bandwidth_group_list_add_edge (TntBandwidthGroupList *bwgl, TntEdge *edge);
bwgl : | |
edge : | |
Returns : |
gboolean tnt_bandwidth_group_list_remove_edge (TntBandwidthGroupList *bwgl, TntEdge *edge);
bwgl : | |
edge : | |
Returns : |
TntBandwidthGroup* tnt_bandwidth_group_list_find_group_by_ip (TntBandwidthGroupList *bwgl, TntNodeIP4 ip);
bwgl : | |
ip : | |
Returns : |
<< tnt-bandwidth-group | tnt-net-db >> |