AFPBridge/aspinterface.h
Stephen Heumann b5c3a29f37 Initial version, with test program.
It can currently send a GetStatus request and get a response.
2017-03-18 19:42:25 -05:00

21 lines
437 B
C

#ifndef ASPINTERFACE_H
#define ASPINTERFACE_H
#include "session.h"
/* async flag values */
#define AT_SYNC 0
#define AT_ASYNC 0x80
#define aspBusyErr 0x07FF /* temp result code for async call in process */
#define SESSION_NUM_START 0xF8
#define MAX_SESSIONS (256 - SESSION_NUM_START)
extern Session sessionTbl[MAX_SESSIONS];
void FinishASPCommand(Session *sess);
void DispatchASPCommand(SPCommandRec *commandRec);
#endif