#ifdef AIX_PROD
static char sccsid[] = "@(#)19	1.3  src/examples/pubsex/greet/greet_auto/manager.c, examples.src, os2dce21.dss, 960602a.1 6/26/95 11:38:52";
/*
 *   COMPONENT_NAME: examples.src
 *
 *   FUNCTIONS: greet_rpc
 *
 *   ORIGINS: 72
 *
 */
#endif /* AIX_PROD */


#include <string.h>
#include <stdio.h>
#include "greet.h"

#ifndef IBMOS2
#define DCEAPI
#endif

void  DCEAPI greet_rpc(
                       /* [in] */ idl_char client_greeting[128],
                       /* [out] */ idl_char server_reply[128] )
{
       printf("The client says: %s\n", client_greeting);
       fflush(stdout);
       strncpy(server_reply, "Hi client !", STR_SZ);
}

