OpenSS7 SS7 for the Common Man |
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |
||||||||||||||||||||||||||
Home | Overview | Status | News | Documentation | Resources | About | |||||||||||||||||||||
File /code/strss7/include/ss7/smi.h#ifndef __SMI_H__ #define __SMI_H__ #ident "@(#) $Name: $($Revision: 0.8.2.2 $) Copyright (c) 1997-2002 OpenSS7 Corporation." enum { SMI_OK_ACK, SMI_ERROR_ACK, SMI_ERROR_IND, SMI_CONFIG_SETUP, SMI_CONFIG_COMMIT, SMI_CONFIG_SET, SMI_CONFIG_GET, SMI_STATE_REQ, SMI_STATS_SET, SMI_STATS_GET, SMI_STATS_IND, SMI_NOTIFY_REQ, SMI_EVENT_IND }; typedef unsigned long smi_ulong; typedef unsigned short smi_ushort; typedef unsigned char smi_uchar; typedef caddr_t smi_caddr; /* SMI_OK_ACK, M_CTL */ typedef struct { smi_ulong smi_primitive; /* SMI_OK_ACK */ smi_ulong smi_state; smi_ulong smi_correct_primitive; } smi_ok_ack_t; /* SMI_ERROR_ACK, M_CTL */ typedef struct { smi_ulong smi_primitive; /* SMI_ERROR_ACK */ smi_ulong smi_state; smi_ulong smi_error_primitive; smi_ulong smi_errno; smi_ulong smi_reason; } smi_error_ack_t; /* SMI_ERROR_IND, M_CTL */ typedef struct { smi_ulong smi_primitive; /* SMI_ERROR_IND */ smi_ulong smi_state; smi_ulong smi_errno; smi_ulong smi_reason; } smi_error_ind_t; /* SMI_CONFIG_SETUP, M_CTL */ /* SMI_CONFIG_COMMIT, M_CTL */ /* SMI_CONFIG_SET, M_CTL */ /* SMI_CONFIG_GET, M_CTL */ /* SMI_STATE_REQ, M_CTL */ /* SMI_STATS_SET, M_CTL */ /* SMI_STATS_GET, M_CTL */ /* SMI_STATS_IND, M_CTL */ typedef struct { smi_ulong smi_primitive; /* SMI_STATS_IND */ smi_ulong smi_interval; smi_ulong smi_timestamp; } smi_stats_ind_t; /* SMI_NOTIFY_REQ, M_CTL */ typedef struct { smi_ulong smi_primitive; /* SMI_NOTIFY_REQ */ smi_ulong smi_notify; } smi_notify_req_t; /* SMI_EVENT_IND, M_CTL */ typedef struct { smi_ulong smi_primitive; /* SMI_EVENT_IND */ smi_ulong smi_objectid; smi_ulong smi_timestamp; smi_ulong smi_severity; } smi_event_ind_t; union SMI_primitive { smi_ulong smi_primitive; smi_ok_ack_t ok_ack; smi_error_ack_t error_ack; smi_error_ind_t error_ind; smi_stats_ind_t stats_ind; smi_notify_req_t notify_req; smi_event_ind_t event_ind; }; #endif /* __SMI_H__ */
|
|||||||||||||||||||||||||||
OpenSS7 SS7 for the Common Man |
Home | Overview | Status | News | Documentation | Resources | About | ||||||||||||||||||||
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |