#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/times.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/uio.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include "at_proto.h"
#define ASPDEF_MaxCmdSize 578
#define ASPDEF_QuantumSize 4624
#define ASPERR_SystemErr -1062
#define SET_ERRNO(e) errno = e
int
SPAttention(int SessRefNum,
unsigned short AttentionCode,
int *SPError,
int NoWait)
{
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPCloseSession(int SessRefNum,
int *SPError)
{
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPCmdReply(int SessRefNum,
unsigned short ReqRefNum,
int CmdResult,
char *CmdReplyData,
int CmdReplyDataSize,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
void
SPGetParms(int *MaxCmdSize,
int *QuantumSize,
int SessRefNum)
{
*MaxCmdSize = ASPDEF_MaxCmdSize;
*QuantumSize = ASPDEF_QuantumSize;
}
int
SPGetRequest(int SessRefNum,
char *ReqBuff,
int ReqBuffSize,
unsigned short *ReqRefNum,
int *ReqType,
int *ActRcvdReqLen,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPGetSession(int SLSRefNum,
int *SessRefNum,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPInit(at_inet_t *SLSEntityIdentifier,
char *ServiceStatusBlock,
int ServiceStatusBlockSize,
int *SLSRefNum,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPNewStatus(int SLSRefNum,
char *ServiceStatusBlock,
int ServiceStatusBlockSize,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPWrtContinue(int SessRefNum,
unsigned short ReqRefNum,
char *Buff,
int BuffSize,
int *ActLenRcvd,
int *SPError,
int NoWait)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPWrtReply(int SessRefNum,
unsigned short ReqRefNum,
int CmdResult,
char *CmdReplyData,
int CmdReplyDataSize,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPGetReply(int SessRefNum,
char *ReplyBuffer,
int ReplyBufferSize,
int *CmdResult,
int *ActRcvdReplyLen,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPLook(int SessRefNum,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPRegister(at_entity_t *SLSEntity,
at_retry_t *Retry,
at_inet_t *SLSEntityIdentifier,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPRegisterWithTCPPossibility(at_entity_t *SLSEntity,
at_retry_t *Retry,
at_inet_t *SLSEntityIdentifier,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPRemove(at_entity_t *SLSEntity,
at_inet_t *SLSEntityIdentifier,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
void
SPConfigure(unsigned short TickleInterval,
unsigned short SessionTimer,
at_retry_t *Retry)
{
return;
}
int
SPGetLocEntity(int SessRefNum,
void *SessLocEntityIdentifier,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPGetRemEntity(int SessRefNum,
void *SessRemEntityIdentifier,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPSetPid(int SessRefNum,
int SessPid,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}
int
SPGetProtoFamily(int SessRefNum,
int *ProtoFamily,
int *SPError)
{
SET_ERRNO(ENXIO);
*SPError = ASPERR_SystemErr;
return -1;
}