4#ifndef OHCOUNT_SOURCEFILE_H
5#define OHCOUNT_SOURCEFILE_H
26 const char *diskpath);
35 const char *contents);
59 const char *language);
92 void (*callback) (
const char *,
154 const char *language,
178 const char *filepath);
187 const char *directory);
void ohcount_sourcefile_list_add_directory(SourceFileList *list, const char *directory)
LicenseList * ohcount_sourcefile_get_license_list(SourceFile *sourcefile)
void ohcount_sourcefile_set_diskpath(SourceFile *sourcefile, const char *diskpath)
LocList * ohcount_sourcefile_get_loc_list(SourceFile *sourcefile)
const char * ohcount_sourcefile_get_language(SourceFile *sourcefile)
void ohcount_sourcefile_parse(SourceFile *sourcefile)
SourceFileList * ohcount_sourcefile_list_new()
LocDeltaList * ohcount_sourcefile_diff(SourceFile *from, SourceFile *to)
void ohcount_sourcefile_set_contents(SourceFile *sourcefile, const char *contents)
ParsedLanguageList * ohcount_sourcefile_get_parsed_language_list(SourceFile *sourcefile)
char * ohcount_sourcefile_get_contents(SourceFile *sourcefile)
void ohcount_sourcefile_list_free(SourceFileList *list)
void ohcount_sourcefile_parse_entities_with_callback(SourceFile *sourcefile, void(*callback)(const char *, const char *, int, int, void *), void *userdata)
SourceFile * ohcount_sourcefile_new(const char *filepath)
void ohcount_sourcefile_list_add_file(SourceFileList *list, const char *filepath)
LocDelta * ohcount_sourcefile_calc_loc_delta(SourceFile *from, const char *language, SourceFile *to)
void ohcount_sourcefile_parse_with_callback(SourceFile *sourcefile, void(*callback)(const char *, const char *, int, int, void *), void *userdata)
LocList * ohcount_sourcefile_list_analyze_languages(SourceFileList *list)
void ohcount_sourcefile_free(SourceFile *sourcefile)
int ohcount_sourcefile_get_contents_size(SourceFile *sourcefile)
void ohcount_sourcefile_set_language(SourceFile *sourcefile, const char *language)
Holds a list of Licenses in a linked list.
Definition: structs.h:50
Tracks changes in lines of code, comments, and blank lines for multiple languages using a linked list...
Definition: structs.h:154
Tracks changes in lines of code, comments, and blank lines for a single language.
Definition: structs.h:125
Tracks total lines of code, comments, and blanks for multiple languages using a linked list.
Definition: structs.h:99
Holds a set of ParsedLanguages in a linked list.
Definition: structs.h:213
Contains a set of SourceFiles.
Definition: structs.h:315
Represents a single source code file.
Definition: structs.h:238