Links

GitHub

Open HUB

Quick Links

Download

STREAMS

SIGTRAN

SS7

Hardware

SCTP

Browse Source

Applications

SS7 Stack

ISDN Stack

SIGTRAN Stack

VoIP Stack

MG Stack

SS7/ISDN Devices

IP Transport

Embedded Systems

Operating System

Resources

Packages

Sys Req

Repositories

Download

Mailing Lists

Browse Source

CVS Archive

Bug Reports

Library

Hardware

Vendor Links

Home

Overview

Status

Documentation

Resources

About

News

Description: Code

File /code/strxnet/src/include/xti.h



#ifndef _XTI_H
#define _XTI_H

#ident "@(#) xti.h,v openss7-0_9_2_G(0.9.2.13) Copyright (c) 2001-2008 OpenSS7 Corporation."

#include <sys/xti.h>
#include <sys/xti_inet.h>
#include <sys/xti_atm.h>
#include <sys/xti_osi.h>
#include <sys/xti_mosi.h>

#ifdef __BEGIN_DECLS

__BEGIN_DECLS

#endif

#ifndef __KERNEL__

extern int t_accept(int, int, const struct t_call *);

extern int t_addleaf(int, int, struct netbuf *);

extern char *t_alloc(int, int, int);

extern int t_bind(int, const struct t_bind *, struct t_bind *);

extern int t_close(int);

extern int t_connect(int, const struct t_call *, struct t_call *);

extern int t_error(const char *);

extern int t_free(void *, int);

extern int t_getinfo(int, struct t_info *);

extern int t_getprotaddr(int, struct t_bind *, struct t_bind *);

extern int t_getstate(int);

extern int t_listen(int, struct t_call *);

extern int t_look(int);

extern int t_open(const char *, int, struct t_info *);

extern int t_optmgmt(int, const struct t_optmgmt *, struct t_optmgmt *);

extern int t_rcv(int, char *, unsigned int, int *);

extern int t_rcvconnect(int, struct t_call *);

extern int t_rcvdis(int, struct t_discon *);

extern int t_rcvleafchange(int, struct t_leaf_status *);

extern int t_rcvopt(int fd, struct t_unitdata *optdata, int *flags);

extern int t_rcvrel(int);

extern int t_rcvreldata(int, struct t_discon *);

extern int t_rcvudata(int, struct t_unitdata *, int *);

extern int t_rcvuderr(int, struct t_uderr *);

extern int t_rcvv(int, struct t_iovec *, unsigned int, int *);

extern int t_rcvvopt(int fd, const struct t_unitdata *optdata, const
		     struct t_iovec *iov, unsigned int iovcount, int flags);

extern int t_rcvvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int, int *);

extern int t_removeleaf(int, int, int);

extern int t_snd(int, char *, unsigned int, int);

extern int t_snddis(int, const struct t_call *);

extern int t_sndopt(int fd, const struct t_unitdata *optdata, int flags);

extern int t_sndrel(int);

extern int t_sndreldata(int, struct t_discon *);

extern int t_sndudata(int, const struct t_unitdata *);

extern int t_sndv(int, const struct t_iovec *, unsigned int, int);

extern int t_sndvopt(int fd, const struct t_unitdata *optdata, const
		     struct t_iovec *iov, unsigned int iovcount, int flags);

extern int t_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);

extern const char *t_strerror(int);

extern int t_sync(int);

extern int t_sysconf(int);

extern int t_unbind(int);

extern int __xnet_t_accept(int, int, const struct t_call *);
extern int __xnet_t_addleaf(int, int, struct netbuf *);
extern char *__xnet_t_alloc(int, int, int);
extern int __xnet_t_bind(int, const struct t_bind *, struct t_bind *);
extern int __xnet_t_close(int);
extern int __xnet_t_connect(int, const struct t_call *, struct t_call *);
extern int __xnet_t_error(const char *);
extern int __xnet_t_free(void *, int);
extern int __xnet_t_getinfo(int, struct t_info *);
extern int __xnet_t_getprotaddr(int, struct t_bind *, struct t_bind *);
extern int __xnet_t_getstate(int);
extern int __xnet_t_listen(int, struct t_call *);
extern int __xnet_t_look(int);
extern int __xnet_t_open(const char *, int, struct t_info *);
extern int __xnet_t_optmgmt(int, const struct t_optmgmt *, struct t_optmgmt *);
extern int __xnet_t_rcv(int, char *, unsigned int, int *);
extern int __xnet_t_rcvconnect(int, struct t_call *);
extern int __xnet_t_rcvdis(int, struct t_discon *);
extern int __xnet_t_rcvleafchange(int, struct t_leaf_status *);
extern int __xnet_t_rcvopt(int fd, struct t_unitdata *optdata, int *flags);
extern int __xnet_t_rcvrel(int);
extern int __xnet_t_rcvreldata(int, struct t_discon *);
extern int __xnet_t_rcvudata(int, struct t_unitdata *, int *);
extern int __xnet_t_rcvuderr(int, struct t_uderr *);
extern int __xnet_t_rcvv(int, struct t_iovec *, unsigned int, int *);
extern int __xnet_t_rcvvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int, int *);
extern int __xnet_t_removeleaf(int, int, int);
extern int __xnet_t_snd(int, char *, unsigned int, int);
extern int __xnet_t_snddis(int, const struct t_call *);
extern int __xnet_t_sndopt(int fd, const struct t_unitdata *optdata, int flags);
extern int __xnet_t_sndrel(int);
extern int __xnet_t_sndreldata(int, struct t_discon *);
extern int __xnet_t_sndudata(int, const struct t_unitdata *);
extern int __xnet_t_sndv(int, const struct t_iovec *, unsigned int, int);
extern int __xnet_t_sndvopt(int fd, const struct t_unitdata *optdata, const
			    struct t_iovec *iov, unsigned int iovcount, int flags);
extern int __xnet_t_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);
extern const char *__xnet_t_strerror(int);
extern int __xnet_t_sync(int);
extern int __xnet_t_sysconf(int);
extern int __xnet_t_unbind(int);

extern int __xnet_t_accept_r(int fd, int resfd, const struct t_call *call);
extern int __xnet_t_addleaf_r(int fd, int leafid, struct netbuf *addr);
extern char *__xnet_t_alloc_r(int fd, int type, int fields);
extern int __xnet_t_bind_r(int fd, const struct t_bind *req, struct t_bind *ret);
extern int __xnet_t_close_r(int fd);
extern int __xnet_t_connect_r(int fd, const struct t_call *sndcall, struct t_call *rcvcall);
extern int __xnet_t_getinfo_r(int fd, struct t_info *info);
extern int __xnet_t_getstate_r(int fd);
extern int __xnet_t_listen_r(int fd, struct t_call *call);
extern int __xnet_t_look_r(int fd);
extern int __xnet_t_open_r(const char *path, int oflag, struct t_info *info);
extern int __xnet_t_optmgmt_r(int fd, const struct t_optmgmt *req, struct t_optmgmt *ret);
extern int __xnet_t_rcv_r(int fd, char *buf, unsigned int nbytes, int *flags);
extern int __xnet_t_rcvconnect_r(int fd, struct t_call *call);
extern int __xnet_t_rcvdis_r(int fd, struct t_discon *discon);
extern int __xnet_t_rcvleafchange_r(int fd, struct t_leaf_status *change);
extern int __xnet_t_rcvrel_r(int fd);
extern int __xnet_t_rcvreldata_r(int fd, struct t_discon *discon);
extern int __xnet_t_rcvopt_r(int fd, struct t_unitdata *optdata, int *flags);
extern int __xnet_t_rcvudata_r(int fd, struct t_unitdata *unitdata, int *flags);
extern int __xnet_t_rcvv_r(int fd, struct t_iovec *iov, unsigned int iovcount, int *flags);
extern int __xnet_t_rcvvudata_r(int fd, struct t_unitdata *unitdata, struct t_iovec *iov,
				unsigned int iovcount, int *flags);
extern int __xnet_t_removeleaf_r(int fd, int leafid, int reason);
extern int __xnet_t_snd_r(int fd, char *buf, unsigned int nbytes, int flags);
extern int __xnet_t_snddis_r(int fd, const struct t_call *call);
extern int __xnet_t_sndrel_r(int fd);
extern int __xnet_t_sndreldata_r(int fd, struct t_discon *discon);
extern int __xnet_t_sndopt_r(int fd, const struct t_unitdata *optdata, int flags);
extern int __xnet_t_sndvopt_r(int fd, const struct t_unitdata *optdata, const struct t_iovec *iov,
			      unsigned int iovcount, int flags);
extern int __xnet_t_sndudata_r(int fd, const struct t_unitdata *unitdata);
extern int __xnet_t_sndv_r(int fd, const struct t_iovec *iov, unsigned int iovcount, int flags);
extern int __xnet_t_sndvudata_r(int fd, struct t_unitdata *unitdata, struct t_iovec *iov,
				unsigned int iovcount);
extern int __xnet_t_unbind_r(int fd);

#endif

#ifdef __END_DECLS

__END_DECLS

#endif

#endif


Last modified: Thu, 28 Nov 2024 17:54:58 GMT  
Copyright © 2014 OpenSS7 Corporation All Rights Reserved.