original files of m241
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/* portmap.h - header file for portmap.c */
|
||||
|
||||
/* Copyright 1984-2000 Wind River Systems, Inc. */
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01e,18apr00,ham changed int portmapd() to void portmapd().
|
||||
01d,22sep92,rrr added support for c++
|
||||
01c,26may92,rrr the tree shuffle
|
||||
01b,04oct91,rrr passed through the ansification filter
|
||||
-fixed #else and #endif
|
||||
-changed copyright notice
|
||||
01a,05oct90,shl created.
|
||||
*/
|
||||
|
||||
#ifndef __INCportmaph
|
||||
#define __INCportmaph
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* function declarations */
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern void portmapd (void);
|
||||
extern void reg_service (struct svc_req *rqstp, SVCXPRT *xprt);
|
||||
|
||||
#else
|
||||
|
||||
extern int portmapd ();
|
||||
extern void reg_service ();
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCportmaph */
|
||||
Reference in New Issue
Block a user