ohcount
Data Fields
License Struct Reference

Holds a license and its associated details and patterns. More...

#include <structs.h>

Data Fields

const char * name
 
const char * url
 
const char * nice_name
 
const char * re
 
int re_flags
 
const char * exclude_re
 
int exclude_re_flags
 
pcre * regexp
 
pcre * exclude_regexp
 

Detailed Description

Holds a license and its associated details and patterns.

Field Documentation

◆ exclude_re

const char* License::exclude_re

A PCRE regular expression for text that matches re, but should not match this re in order to match this license.

◆ exclude_re_flags

int License::exclude_re_flags

PCRE flags for exclude_re.

◆ exclude_regexp

pcre* License::exclude_regexp

The PCRE object for exclude_re. (This field is set automatically.)

◆ name

const char* License::name

The ID name of the license. Should be in defined in licenses.h.

◆ nice_name

const char* License::nice_name

A nice displayable name for the license.

◆ re

const char* License::re

A PCRE regular expression for text that matches this license.

◆ re_flags

int License::re_flags

PCRE flags for re. (Typically PCRE_CASELESS or PCRE_MULTILINE).

◆ regexp

pcre* License::regexp

The PCRE object for re. (This field is set automatically.)

◆ url

const char* License::url

The string URL to the license's website.


The documentation for this struct was generated from the following file: