ohcount
src
detector.h
Go to the documentation of this file.
1
// detector.h written by Mitchell Foral. mitchell<att>caladbolg.net.
2
// See COPYING for license information.
3
4
#ifndef OHCOUNT_DETECTOR_H
5
#define OHCOUNT_DETECTOR_H
6
22
#include "
sourcefile.h
"
23
30
const
char
*
ohcount_detect_language
(
SourceFile
*sourcefile);
31
32
int
ohcount_is_binary_filename
(
const
char
*filename);
33
34
/* Exported for unit testing */
35
void
escape_path
(
char
*safe,
const
char
*unsafe);
36
37
#endif
escape_path
void escape_path(char *safe, const char *unsafe)
ohcount_detect_language
const char * ohcount_detect_language(SourceFile *sourcefile)
ohcount_is_binary_filename
int ohcount_is_binary_filename(const char *filename)
sourcefile.h
SourceFile
Represents a single source code file.
Definition:
structs.h:238
Generated by
1.9.4