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/strss7/src/include/tiuser.h



#ifndef _TIUSER_H
#define _TIUSER_H

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

#include <sys/tiuser.h>

#ifdef __BEGIN_DECLS

__BEGIN_DECLS

#endif

#ifndef __KERNEL__

#define t_errno (*(_t_errno()))
extern int *_t_errno(void);

extern int t_accept(int fd, int resfd, struct t_call *call);

extern char *t_alloc(int fd, int struct_type, int fields);

extern int t_bind(int fd, struct t_bind *req, struct t_bind *ret);

extern int t_close(int fd);

extern int t_connect(int fd, struct t_call *sndcall, struct t_call *rcvcall);

extern void t_error(const char *errmsg);

extern int t_free(char *ptr, int struct_type);

extern int t_getinfo(int fd, struct t_info *info);

extern int t_getstate(int fd);

extern int t_listen(int fd, struct t_call *call);

extern int t_look(int fd);

#if 0
extern int t_nonblocking(int fd);
#endif

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

extern int t_optmgmt(int fd, struct t_optmgmt *req, struct t_optmgmt *ret);

extern int t_rcv(int fd, char *buf, unsigned nbytes, int *flags);

extern int t_rcvconnect(int fd, struct t_call *call);

extern int t_rcvdis(int fd, struct t_discon *discon);

extern int t_rcvrel(int fd);

extern int t_rcvudata(int fd, struct t_unitdata *unitdata, int *flags);

extern int t_rcvuderr(int fd, struct t_uderr *uderr);

extern int t_snd(int fd, char *buf, unsigned nbytes, int flags);

extern int t_snddis(int fd, struct t_call *call);

extern int t_sndrel(int fd);

extern int t_sndudata(int fd, struct t_unitdata *unitdata);

extern char *t_strerror(int);

extern int t_sync(int fd);

extern int t_unbind(int fd);

extern char *t_errlist[];
extern char *t_errstr[];

extern int t_nerr;

extern int __tli_t_accept(int fd, int resfd, struct t_call *call);
extern char *__tli_t_alloc(int fd, int struct_type, int fields);
extern int __tli_t_bind(int fd, struct t_bind *req, struct t_bind *ret);
extern int __tli_t_close(int fd);
extern int __tli_t_connect(int fd, struct t_call *sndcall, struct t_call *rcvcall);
extern void __tli_t_error(const char *errmsg);
extern int __tli_t_free(char *ptr, int struct_type);
extern int __tli_t_getinfo(int fd, struct t_info *info);
extern int __tli_t_getstate(int fd);
extern int __tli_t_listen(int fd, struct t_call *call);
extern int __tli_t_look(int fd);

#if 0
extern int __tli_t_nonblocking(int fd);
#endif
extern int __tli_t_open(const char *path, int oflag, struct t_info *info);
extern int __tli_t_optmgmt(int fd, struct t_optmgmt *req, struct t_optmgmt *ret);
extern int __tli_t_rcv(int fd, char *buf, unsigned nbytes, int *flags);
extern int __tli_t_rcvconnect(int fd, struct t_call *call);
extern int __tli_t_rcvdis(int fd, struct t_discon *discon);
extern int __tli_t_rcvrel(int fd);
extern int __tli_t_rcvudata(int fd, struct t_unitdata *unitdata, int *flags);
extern int __tli_t_rcvuderr(int fd, struct t_uderr *uderr);
extern int __tli_t_snd(int fd, char *buf, unsigned nbytes, int flags);
extern int __tli_t_snddis(int fd, struct t_call *call);
extern int __tli_t_sndrel(int fd);
extern int __tli_t_sndudata(int fd, struct t_unitdata *unitdata);
extern char *__tli_t_strerror(int);
extern int __tli_t_sync(int fd);
extern int __tli_t_unbind(int fd);
extern char *__tli_t_errlist[];
extern char *__tli_t_errstr[];

#endif

#ifdef __END_DECLS

__END_DECLS

#endif

#endif


Last modified: Thu, 28 Nov 2024 18:46:00 GMT  
Copyright © 2014 OpenSS7 Corporation All Rights Reserved.