4#ifndef OHCOUNT_STRUCTS_H
5#define OHCOUNT_STRUCTS_H
Holds a list of Licenses in a linked list.
Definition: structs.h:50
struct LicenseListItem * head
Definition: structs.h:61
struct LicenseListItem * next
Definition: structs.h:55
License * lic
Definition: structs.h:52
struct LicenseListItem * tail
Definition: structs.h:67
Holds a license and its associated details and patterns.
Definition: structs.h:13
const char * exclude_re
Definition: structs.h:33
pcre * regexp
Definition: structs.h:39
const char * url
Definition: structs.h:18
int exclude_re_flags
Definition: structs.h:36
int re_flags
Definition: structs.h:27
const char * nice_name
Definition: structs.h:21
const char * name
Definition: structs.h:15
pcre * exclude_regexp
Definition: structs.h:42
const char * re
Definition: structs.h:24
Tracks changes in lines of code, comments, and blank lines for multiple languages using a linked list...
Definition: structs.h:154
struct LocDeltaListItem * next
Definition: structs.h:159
LocDelta * delta
Definition: structs.h:156
struct LocDeltaListItem * head
Definition: structs.h:165
struct LocDeltaListItem * tail
Definition: structs.h:171
Tracks changes in lines of code, comments, and blank lines for a single language.
Definition: structs.h:125
int code_removed
Definition: structs.h:133
int comments_added
Definition: structs.h:136
int blanks_removed
Definition: structs.h:145
int code_added
Definition: structs.h:130
int blanks_added
Definition: structs.h:142
int comments_removed
Definition: structs.h:139
const char * language
Definition: structs.h:127
Tracks total lines of code, comments, and blanks for multiple languages using a linked list.
Definition: structs.h:99
struct LocListItem * head
Definition: structs.h:110
Loc * loc
Definition: structs.h:101
struct LocListItem * next
Definition: structs.h:104
struct LocListItem * tail
Definition: structs.h:116
Tracks total lines of code, comments, and blanks for a single language.
Definition: structs.h:76
int comments
Definition: structs.h:84
const char * language
Definition: structs.h:78
int filecount
Definition: structs.h:90
int code
Definition: structs.h:81
int blanks
Definition: structs.h:87
Holds a set of ParsedLanguages in a linked list.
Definition: structs.h:213
struct ParsedLanguageListItem * next
Definition: structs.h:218
ParsedLanguage * pl
Definition: structs.h:215
struct ParsedLanguageListItem * tail
Definition: structs.h:230
struct ParsedLanguageListItem * head
Definition: structs.h:224
Represents a single language parsed from a SourceFile.
Definition: structs.h:179
char * code
Definition: structs.h:187
char * code_p
Definition: structs.h:190
char * comments_p
Definition: structs.h:199
int comments_count
Definition: structs.h:202
int buffer_size
Definition: structs.h:184
char * comments
Definition: structs.h:196
const char * name
Definition: structs.h:181
int blanks_count
Definition: structs.h:205
int code_count
Definition: structs.h:193
Contains a set of SourceFiles.
Definition: structs.h:315
SourceFile * sf
Definition: structs.h:317
struct SourceFileListItem * next
Definition: structs.h:320
struct SourceFileListItem * head
Definition: structs.h:326
struct SourceFileListItem * tail
Definition: structs.h:332
Represents a single source code file.
Definition: structs.h:238
int language_detected
Definition: structs.h:285
LicenseList * license_list
Definition: structs.h:298
LocList * loc_list
Definition: structs.h:304
char * filename
Definition: structs.h:249
int dirpath
Definition: structs.h:246
const char * language
Definition: structs.h:279
char ** filenames
Definition: structs.h:307
char * filepath
Definition: structs.h:240
char * ext
Definition: structs.h:252
char * diskpath
Definition: structs.h:258
char * contents
Definition: structs.h:267
int size
Definition: structs.h:273
ParsedLanguageList * parsed_language_list
Definition: structs.h:292
struct LocDeltaListItem LocDeltaList
struct SourceFileListItem SourceFileList
struct LicenseListItem LicenseList
struct ParsedLanguageListItem ParsedLanguageList
struct LocListItem LocList