ohcount: License Struct Reference

# 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

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.

int License::exclude_re_flags

PCRE flags for exclude_re.

pcre* License::exclude_regexp

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

const char* License::name

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

const char* License::nice_name

A nice displayable name for the license.

const char* License::re

A PCRE regular expression for text that matches this license.

int License::re_flags

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

pcre* License::regexp

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

const char* License::url

The string URL to the license's website.

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

- /Users/andy/dev/ohcount/src/structs.h