#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <regex>
#include <exception>

/* This code was written by Keir Lauritzen */

extern int NPAT;
extern char RS;
extern char FS;
extern char* __patterns[10000];
//extern char* pattern1;
extern void (*__actions[10000])(int ,char**, int*);

extern "C" {
    void __init(void);
//    void delete_pattern_actions(void);
    //void action1(const int len,char** fields, int* field_len);
    //void action2(const int len,char** fields, int* field_len);
}
//extern void action2(const char* fields, ...); 
