ReactOS 0.4.16-dev-91-g764881a
match.h File Reference
#include "util.h"
Include dependency graph for match.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int match_line (FILE *outFile, char *Line)
 

Function Documentation

◆ match_line()

int match_line ( FILE outFile,
char Line 
)

Definition at line 72 of file match.c.

73{
74 int processed = 1;
75
76 if ( *Line == '\n' || *Line == '\0' )
77 return 1;
78 if ( strncmp(Line, KDBG_CONT, sizeof(KDBG_CONT)-1 ) == 0 )
79 return 1;
80
81 processed = match_mod(outFile, Line, processed);
83 /* more to be appended here:
84 * processed = match_xxx(outFile, Line, processed );
85 * ...
86 */
87
88 return (int)(Line[0]);
89}
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
Definition: utclib.c:534
static int match_break(FILE *outFile, char *Line, int processed)
Definition: match.c:15
static int match_mod(FILE *outFile, char *Line, int processed)
Definition: match.c:31
#define KDBG_CONT
Definition: cmd.h:18
Definition: ncftp.h:79
static int processed(const type_t *type)
Definition: typegen.c:2254

Referenced by translate_files().