This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.

20 lines
513 B
C
Raw Normal View History

2017-03-18 23:04:38 +10:00
#include "shared/types.h"
struct cmnlIdx
{
uint16_t zone,net,node,point,region,hub;
};
#define CMNLERR_NO_INDEX 1
#define CMNLERR_WRONG_TYPE 2
#define CMNLERR_UNEXPECTED_EOF 3
#define CMNLERR_NODE_NOT_FOUND 4
#define CMNLERR_NO_NODELIST 5
osFile cmnlOpenNL(char *dir);
void cmnlCloseNL(osFile nl);
bool cmnlFindNL(osFile nl,char *dir,struct cmnlIdx *idx,char *line,uint32_t len);
char *cmnlLastError(void);
extern uint32_t cmnlerr;