/tmp/buildd/ohcount-3.0.0/src/detector.h File Reference

#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)

Function Documentation

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.

Parameters:
sourcefile A SourceFile created by ohcount_sourcefile_new().
Returns:
pointer to a string with the detected language or NULL.
int ohcount_is_binary_filename ( const char *  filename  ) 

Generated on Sun Nov 29 17:21:31 2009 for ohcount by  doxygen 1.6.1