added some structure definitions to the http_example