ohcount
|
#include "sourcefile.h"
Go to the source code of this file.
Functions | |
const char * | ohcount_detect_language (SourceFile *sourcefile) |
int | ohcount_is_binary_filename (const char *filename) |
void | escape_path (char *safe, const char *unsafe) |
void escape_path | ( | char * | safe, |
const char * | unsafe | ||
) |
const char * ohcount_detect_language | ( | SourceFile * | sourcefile | ) |
Attempts to detect the programming language used by the given file. The returned pointer is used internally and must not be 'free'd.
sourcefile | A SourceFile created by ohcount_sourcefile_new(). |
int ohcount_is_binary_filename | ( | const char * | filename | ) |