summaryrefslogtreecommitdiff
path: root/i_validation.h
blob: 73087ac2348a95124e1a09d06188244bbae78335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "7ed.h"
#include <stdint.h>

#define _PLUS_ONLY _VALID
#define _PLUS_CONTINUE 2
#define _PLUS_NOTHING _VALID
#define _IMM_NUMBER 4
#define _IMM_NOTHING 5
#define _CONTINUE 6
#define _NA 7

int validate_L(char *smode_buf);

int validate_N(char *smode_buf);