libdeltacloud 0.9
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "instance_state.h"
Functions | |
int | deltacloud_get_instance_states (struct deltacloud_api *api, struct deltacloud_instance_state **instance_states) |
void | deltacloud_free_instance_state_list (struct deltacloud_instance_state **instance_states) |
void deltacloud_free_instance_state_list | ( | struct deltacloud_instance_state ** | instance_states | ) |
A function to free a list of deltacloud_instance_state structures initially allocated by deltacloud_get_instance_states().
[in] | instance_states | The pointer to the head of the deltacloud_instance_state list |
int deltacloud_get_instance_states | ( | struct deltacloud_api * | api, |
struct deltacloud_instance_state ** | instance_states | ||
) |
A function to get a linked list of all of the instance states. The caller is expected to free the list using deltacloud_free_instance_state_list().
[in] | api | The deltacloud_api structure representing this connection |
[out] | instance_states | A pointer to the deltacloud_instance_state structure to hold the list of instance states |