#include "os.h"
{
}
void
{
        printf ( "Acknowledgement received!\n" );
}
int
main ( int argc, char *argv[] )
{
    
    
    
    const char     *sessionProps[20];
    int             propIndex = 0;
    
    const char *text_p = "Hello world!";
    if ( argc < 5 ) {
        printf ( "Usage: HelloWorldPub <msg_backbone_ip:port> <vpn> <client-username> <queue>\n" );
        return -1;
    }
    
    
    printf ( "HelloWorldQueuePub initializing...\n" );
    
    
                                           &context_p, &contextFuncInfo, sizeof ( contextFuncInfo ) );
    
    
    
    propIndex = 0;
    sessionProps[propIndex++] = argv[1];
    sessionProps[propIndex++] = argv[2];
    sessionProps[propIndex++] = argv[3];
    sessionProps[propIndex] = NULL;
    
                               context_p,
                               &session_p, &sessionFuncInfo, sizeof ( sessionFuncInfo ) );
    
    printf ( "Connected.\n" );
    
    
    
    
    destination.
dest = argv[4];
    
    
    printf ( "About to send message '%s' to queue '%s'...\n", (char *)text_p, argv[4] );
    printf ( "Message sent.\n" );
    
    
    SLEEP ( 2 );
    printf ( "Exiting.\n" );
    
    
    return 0;
}