diff options
Diffstat (limited to 'lib/libeclat.h')
-rw-r--r-- | lib/libeclat.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/libeclat.h b/lib/libeclat.h index 59ff0f6..670c51b 100644 --- a/lib/libeclat.h +++ b/lib/libeclat.h @@ -12,12 +12,14 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ #include <stddef.h> +#include <expat.h> +#include "grecs.h" void hmac_sha1(const void *text, size_t textlen, const void *key, size_t keylen, void *digest); void urlencode(const char *input, size_t len, char **poutput, size_t *poutlen); @@ -53,7 +55,19 @@ void eclat_query_free(struct ec2_query *); int eclat_query_signature(struct ec2_query *req, char *secret); char *eclat_query_to_url(struct ec2_query *req, char **post_params); void eclat_query_encode(struct ec2_query *q); - + +typedef struct eclat_partial_tree *eclat_partial_tree_t; + +eclat_partial_tree_t eclat_partial_tree_create(void); +void eclat_partial_tree_destroy(eclat_partial_tree_t); +struct grecs_node *eclat_partial_tree_finish(eclat_partial_tree_t); +void eclat_partial_tree_data_handler(void *data, const XML_Char *s, int len); +void eclat_partial_tree_start_handler(void *data, const XML_Char *name, + const XML_Char **atts); +void eclat_partial_tree_end_handler(void *data, const XML_Char *name); + + + |