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

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

#ifndef IBMOS2
#define DCEAPI
#endif

void  DCEAPI greet_rpc(
/* [in] */ handle_t h,
/* [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);
}

