view regex/Regex.h @ 117:166136236891 pairPro

add header files
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Wed, 25 Nov 2015 14:58:03 +0900
parents ead0a307449e
children
line wrap: on
line source

typedef struct result {
    int matchNum;
    int matchLineNum;
    char* matchLine;
} Result, *ResultPtr;

typedef struct bmData {
    int* skipTable;
    char* readText;
    int readTextLen;
    char* searchWord;
    int searchWordLen;
} BMData, *BMDataPtr;

typedef struct regexData {
    char* readText;
    int readTextLen;
    char* searchWord;
    int searchWordLen;
    char** matchLinesHeads;
    char* matchLineNum;
} RegexData, *RegexDataPtr;