Client to test complex types (arrays, structs, dicts) against a provided server (complex-types-server.c)
#include "Eldbus.h"
#include <Ecore.h>
#define BUS "com.profusion"
#define PATH "/com/profusion/Test"
#define IFACE "com.profusion.Test"
{
   printf("\nFishing...\n");
}
static void
{
   int num2 = 0;
     {
        printf("Message error\n\n");
        return;
     }
     {
        printf("Error getting arguments.");
        return;
     }
   printf("on_plus_one() %d\n", num2);
}
static void
{
   const char *errname;
   const char *errmsg;
   printf("set_property_resp2()\n");
     {
        printf("Message error %s - %s\n\n", errname, errmsg);
        return;
     }
}
static void
{
   char *type;
   char *resp2;
   const char *errname;
   const char *errmsg;
   printf("get_property_resp2()\n");
     {
        printf("Message error %s - %s\n\n", errname, errmsg);
        return;
     }
     {
        printf("Error getting arguments.");
        return;
     }
   if (type[1])
     {
        printf("It is a complex type, not handle yet.\n\n");
        return;
     }
   if (type[0] != 's')
     {
        printf("Expected type is string.\n\n");
        return;
     }
     {
        printf("error in eldbus_message_iter_arguments_get()\n\n");
        return;
     }
   printf("resp2=%s\n", resp2);
   free(type);
}
static void
{
   int num;
   printf("on_send_array_int()\n");
     {
        printf("Message error\n\n");
        return;
     }
     {
        printf("Error getting arguments.");
        return;
     }
     {
        printf("%d\n", num);
     }
}
static void
{
   char *txt = NULL;
   char *string[10];
   int i = 0;
   int z;
   printf("on_send_array()\n");
     {
        printf("Message error\n\n");
        return;
     }
     {
        printf("Error getting arguments.");
        return;
     }
     {
        string[i] = txt;
        i++;
     }
   for (z = 0; z < i; z++)
     printf("string = %s\n", string[z]);
}
static void
{
   const char *errname;
   const char *errmsg;
   printf("on_receive_array_with_size()\n");
     {
        fprintf(stderr, "Error: %s %s\n", errname, errmsg);
     }
}
static void
{
   printf("on_send_variant()\n\n");
}
static void
{
   const char *errname;
   const char *errmsg;
   printf("on_receive_array()\n");
     {
        fprintf(stderr, "Error: %s %s\n", errname, errmsg);
     }
}
int
main(void)
{
   int size_of_array = 5;
   const char *array[5] = { "aaaa", "bbbb", "cccc", "dddd", "eeee" };
   int i;
   int plus_one = 24;
   if (!array_of_string) printf("array_of_string == NULL\n\n");
   for (i = 0; i < 5; i++)
   if (!pending) printf("Error in eldbus_proxy_send()\n\n");
     printf("error on eldbus_massage_iterator_arguments_set()\n\n");
   for (i = 0; i < size_of_array; i++)
     {
     }
   for (i = 0; i < 5; i++)
     {
     }
   for (i = 0; i < 7; i++)
     {
     }
                                 -1 , "");
                              -1 , "");
                              -1 , "i", plus_one);
   return 0;
}