/Users/andy/dev/ohcount/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 Fri Aug 28 15:20:08 2009 for ohcount by  doxygen 1.5.9