OpenSS7 SS7 for the Common Man |
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |
||||||||||||||||||||||||||
Home | Overview | Status | News | Documentation | Resources | About | |||||||||||||||||||||
File /code/strss7/drivers/str/echo.h#ifndef __ECHO_HH__ #define __ECHO_HH__ #pragma interface #ident "@(#) $RCSfile: echo.h,v $ $Name: $($Revision: 0.8.2.2 $) $Date: 2003/02/24 13:00:46 $" #ifndef ECHO_CMAJOR #define ECHO_CMAJOR 230 #endif #if 0 class echoq:public dp { private: inline int m_echo(queue_t * q, mblk_t * mp) { qreply(q, mp); return (0); }; public: inline virtual int m_r_ctl(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_r_data(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_r_proto(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_r_pcproto(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_w_ctl(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_w_data(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_w_proto(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; inline virtual int m_w_pcproto(queue_t * q, mblk_t * mp) { return m_echo(q, mp); }; }; #endif class echodrv:public strdrv { public: echodrv(void):strdrv("echo", ECHO_CMAJOR, 255, 0, -1, 1, 1) { }; }; extern "C" { void echo_init(void); void echo_term(void); }; #endif
|
|||||||||||||||||||||||||||
OpenSS7 SS7 for the Common Man |
Home | Overview | Status | News | Documentation | Resources | About | ||||||||||||||||||||
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |