DCE Application Programming Guide

Sample Application Listings
HP NonStop DCE Application Programming Guide429551-003
A-2
The Attribute Configuration File (ACF)
The Attribute Configuration File (ACF)
The attribute configuration file (ACF) is shown in Figure A-2 on page A-3.
Figure A-1. The IDL File in a Straight Port
/* infpls.IDL Information Server /*
/*
* (c) Copyright 1993 Harold W. Lockhart and Frederic M. Oldfield
* ALL RIGHTS RESERVED
*
* Permission is hereby granted to use, copy, modify and freely
* distribute this software for any purpose without fee, provided
* that the above copyright notice and this permission notice are
* retained in it.
*
* The authors make no representations about the suitability of
* this software for any purpose. It is provided "as is" without
* express or implied warranty. The authors assume no liability,
* direct or consequential, resulting from its use.
*/
[
uuid (00602161-7C3F-1C90-B0AE-0000C07C3610),
version(1.0)
]
interface infpls
{
typedef handle_t RPC_BINDING_HANDLE_T;
typedef struct
{
[ptr, string] char *sysname_p;
[ptr, string] char *nodename_p;
[ptr, string] char *release_p;
[ptr, string] char *version_p;
[ptr, string] char *machine_p;
} sys_info_t;
error_status_t get_system_info( [in] RPC_BINDING_HANDLE_T binding,
[ref, out] sys_info_t *system_info_p);
}