X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fsi%2Fsrc%2Fsi95%2Fsiproto.h;h=7f9fee699ed2eb8ec7cbf38d10c8a36876cecf1d;hb=11838bcf76f3614384459cb56e2ce80dea788cef;hp=c59d6266a341019d373f5f066fa40617f4ee20e1;hpb=5861625ff2eaf1bd3a69ce488bd7d14f7b402432;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/si/src/si95/siproto.h b/src/rmr/si/src/si95/siproto.h index c59d626..7f9fee6 100644 --- a/src/rmr/si/src/si95/siproto.h +++ b/src/rmr/si/src/si95/siproto.h @@ -29,9 +29,14 @@ ----------------------------------------------------------------------------------- */ +#ifndef _si_proto_h +#define _si_proto_h + +extern void siabort_conn( int fd ); // use by applications discouraged extern void *SInew( int type ); -extern char *sigetname( int sid ); +extern char *SIgetname( int sid ); +extern void SIabort( struct ginfo_blk *gptr ); extern int SIaddress( void *src, void **dest, int type ); extern void SIbldpoll( struct ginfo_blk* gptr ); extern struct tp_blk *SIconn_prep( struct ginfo_blk *gptr, int type, char *abuf, int family ); @@ -42,7 +47,7 @@ extern int SIconnect( struct ginfo_blk *gptr, char *abuf ); extern struct tp_blk *SIestablish( int type, char *abuf, int family ); extern int SIgenaddr( char *target, int proto, int family, int socktype, struct sockaddr **rap ); extern int SIgetaddr( struct ginfo_blk *gptr, char *buf ); -extern struct tp_blk *SIlisten_prep( struct ginfo_blk *gptr, int type, char* abuf, int family ); +extern struct tp_blk *SIlisten_prep( int type, char* abuf, int family ); extern int SIlistener( struct ginfo_blk *gptr, int type, char *abuf ); extern void SImap_fd( struct ginfo_blk *gptr, int fd, struct tp_blk* tpptr ); extern int SInewsession( struct ginfo_blk *gptr, struct tp_blk *tpptr ); @@ -59,3 +64,5 @@ extern void SIterm( struct ginfo_blk* gptr, struct tp_blk *tpptr ); extern void SItrash( int type, void *bp ); extern int SIwait( struct ginfo_blk *gptr ); extern struct ginfo_blk* SIinitialise( int opts ); + +#endif