Add safe connect, fix possible seg fault in RTC
[ric-plt/lib/rmr.git] / src / rmr / si / src / si95 / siproto.h
index c59d626..dfe9447 100644 (file)
 -----------------------------------------------------------------------------------
 */
 
+#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 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 );
@@ -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