ohcount

/build/buildd/ohcount-3.0.0/src/parsed_language.h

Go to the documentation of this file.
00001 // parsed_language.h written by Mitchell Foral. mitchell<att>caladbolg.net.
00002 // See COPYING for license information.
00003 
00004 #ifndef OHCOUNT_PARSED_LANGUAGE_H
00005 #define OHCOUNT_PARSED_LANGUAGE_H
00006 
00007 #include "structs.h"
00008 
00018 ParsedLanguage *ohcount_parsed_language_new(const char *language,
00019                                             int buffer_size);
00020 
00028 void ohcount_parsed_language_add_code(ParsedLanguage *parsed_language,
00029                                       char *p, int length);
00030 
00038 void ohcount_parsed_language_add_comment(ParsedLanguage *parsed_language,
00039                                          char *p, int length);
00040 
00046 void ohcount_parsed_language_free(ParsedLanguage *parsed_language);
00047 
00052 ParsedLanguageList *ohcount_parsed_language_list_new();
00053 
00058 void ohcount_parsed_language_list_free(ParsedLanguageList *list);
00059 
00060 #endif