ivshmem_client_parse_args(IvshmemClientArgs *args, int argc, char *argv[])

{

    int c;



    while ((c = getopt(argc, argv,

                       "h"  /* help */

                       "v"  /* verbose */

                       "S:" /* unix_sock_path */

                      )) != -1) {



        switch (c) {

        case 'h': /* help */

            ivshmem_client_usage(argv[0], 0);

            break;



        case 'v': /* verbose */

            args->verbose = 1;

            break;



        case 'S': /* unix_sock_path */

            args->unix_sock_path = strdup(optarg);

            break;



        default:

            ivshmem_client_usage(argv[0], 1);

            break;

        }

    }

}

ivshmem_client_parse_args(IvshmemClientArgs *args, int argc, char *argv[])

{

    int c;



    while ((c = getopt(argc, argv,

                       "h"  

                       "v"  

                       "S:" 

                      )) != -1) {



        switch (c) {

        case 'h': 

            ivshmem_client_usage(argv[0], 0);

            break;



        case 'v': 

            args->verbose = 1;

            break;



        case 'S': 

            args->unix_sock_path = strdup(optarg);

            break;



        default:

            ivshmem_client_usage(argv[0], 1);

            break;

        }

    }

}

            args->unix_sock_path = strdup(optarg);
FUNC_0(IvshmemClientArgs *VAR_0, int VAR_1, char *VAR_2[])

{

    int VAR_3;



    while ((VAR_3 = getopt(VAR_1, VAR_2,

                       "h"  

                       "v"  

                       "S:" 

                      )) != -1) {



        switch (VAR_3) {

        case 'h': 

            ivshmem_client_usage(VAR_2[0], 0);

            break;



        case 'v': 

            VAR_0->verbose = 1;

            break;



        case 'S': 

            VAR_0->unix_sock_path = strdup(optarg);

            break;



        default:

            ivshmem_client_usage(VAR_2[0], 1);

            break;

        }

    }

}

FUNC_0(IvshmemClientArgs *VAR_0, int VAR_1, char *VAR_2[])
{ int VAR_3; while ((VAR_3 = getopt(VAR_1, VAR_2,
"h"
"v"
"S:"
)) != -1) { switch (VAR_3) { case 'h':
ivshmem_client_usage(VAR_2[0], 0); break; case 'v':
VAR_0->verbose = 1; break; case 'S':
VAR_0->unix_sock_path = strdup(optarg); break; default:
ivshmem_client_usage(VAR_2[0], 1); break; } } }