OpenSS7
SS7 for the
Common Man

© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved.
Last modified:

Home Overview Status News Documentation Resources About
   
 Overview
 Status
 News
 Documentation
 Resources
 About

   
Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/drivers/str/queue.cc


File /code/strss7/drivers/str/queue.cc


#ident "@(#) $RCSfile: queue.cc,v $ $Name:  $($Revision: 0.8.2.1 $) $Date: 2002/10/18 02:36:29 $"

static char const ident[] =
    "$RCSfile: queue.cc,v $ $Name:  $($Revision: 0.8.2.1 $) $Date: 2002/10/18 02:36:29 $";

#include "com.h"

#pragma implementation
#include "queue.h"

int (qp::*qp::r_ops[]) (queue_t *, mblk_t *) = {
	&qp::m_r_data,		
	    &qp::m_r_proto,	/* M_PROTO 1 */
	    &qp::m_r_break,	/* M_BREAK 2 */
	    &qp::m_r_ctl,	/* M_CTL 3 */
	    &qp::m_r_delay,	/* M_DELAY 4 */
	    &qp::m_r_ioctl,	/* M_IOCTL 5 */
	    &qp::m_r_passfp,	/* M_PASSFP 6 */
	    &qp::m_r_rse,	/* M_RSE 7 */
	    &qp::m_r_setopts,	/* M_SETOPTS 8 */
	    &qp::m_r_sig,	/* M_SIG 9 */
	    &qp::m_r_copyin,	/* M_COPYIN 10 */
	    &qp::m_r_copyout,	/* M_COPYOUT 11 */
	    &qp::m_r_error,	/* M_ERROR 12 */
	    &qp::m_r_flush,	/* M_FLUSH 13 */
	    &qp::m_r_hangup,	/* M_HANGUP 14 */
	    &qp::m_r_iocack,	/* M_IOCACK 15 */
	    &qp::m_r_iocnak,	/* M_IOCNAK 16 */
	    &qp::m_r_iocdata,	/* M_IOCDATA 17 */
	    &qp::m_r_pcproto,	/* M_PCPROTO 18 */
	    &qp::m_r_pcrse,	/* M_PCRSE 19 */
	    &qp::m_r_pcsig,	/* M_PCSIG 20 */
	    &qp::m_r_read,	/* M_READ 21 */
	    &qp::m_r_stop,	/* M_STOP 22 */
	    &qp::m_r_start,	/* M_START 23 */
	    &qp::m_r_starti,	/* M_STARTI 24 */
	    &qp::m_r_stopi	/* M_STOPI 25 */
};

int (qp::*qp::w_ops[]) (queue_t *, mblk_t *) = {
	&qp::m_w_data,		/* M_DATA 0 */
	    &qp::m_w_proto,	/* M_PROTO 1 */
	    &qp::m_w_break,	/* M_BREAK 2 */
	    &qp::m_w_ctl,	/* M_CTL 3 */
	    &qp::m_w_delay,	/* M_DELAY 4 */
	    &qp::m_w_ioctl,	/* M_IOCTL 5 */
	    &qp::m_w_passfp,	/* M_PASSFP 6 */
	    &qp::m_w_rse,	/* M_RSE 7 */
	    &qp::m_w_setopts,	/* M_SETOPTS 8 */
	    &qp::m_w_sig,	/* M_SIG 9 */
	    &qp::m_w_copyin,	/* M_COPYIN 10 */
	    &qp::m_w_copyout,	/* M_COPYOUT 11 */
	    &qp::m_w_error,	/* M_ERROR 12 */
	    &qp::m_w_flush,	/* M_FLUSH 13 */
	    &qp::m_w_hangup,	/* M_HANGUP 14 */
	    &qp::m_w_iocack,	/* M_IOCACK 15 */
	    &qp::m_w_iocnak,	/* M_IOCNAK 16 */
	    &qp::m_w_iocdata,	/* M_IOCDATA 17 */
	    &qp::m_w_pcproto,	/* M_PCPROTO 18 */
	    &qp::m_w_pcrse,	/* M_PCRSE 19 */
	    &qp::m_w_pcsig,	/* M_PCSIG 20 */
	    &qp::m_w_read,	/* M_READ 21 */
	    &qp::m_w_stop,	/* M_STOP 22 */
	    &qp::m_w_start,	/* M_START 23 */
	    &qp::m_w_starti,	/* M_STARTI 24 */
	    &qp::m_w_stopi	/* M_STOPI 25 */
};

extern "C" {
	INT q_rput(queue_t * q, mblk_t * mp) {
		return (INT) (qp::q_rput(q, mp));
	};
	INT q_rsrv(queue_t * q) {
		return (INT) (qp::q_rsrv(q));
	};
	INT q_wput(queue_t * q, mblk_t * mp) {
		return (INT) (qp::q_wput(q, mp));
	};
	INT q_wsrv(queue_t * q) {
		return (INT) (qp::q_wsrv(q));
	};
}


Home Index Prev Next More Download Info FAQ Mail   Home -> Resources -> Browse Source -> strss7/drivers/str/queue.cc

OpenSS7
SS7 for the
Common Man
Home Overview Status News Documentation Resources About

© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved.
Last modified: