<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ohcount: License Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>License Struct Reference</h1><!-- doxytag: class="License" -->Holds a license and its associated details and patterns.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="structs_8h_source.html">structs.h</a>></code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#c6c78e89f5593adf3ddfdf6d7b206cae">name</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#7ebe77459ff7519213f049e10dd45298">url</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#9978ac560432f298637f9b0f3075d0a2">nice_name</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#eb62fae84281e10e0780522e8dcaae40">re</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#8565ff83446bd71ed1a489100dbc12d0">re_flags</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#105f5f3de6a8a6eb67b0e0318ce60515">exclude_re</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#7ef78e82759738f0532e894e9ee767b0">exclude_re_flags</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">pcre * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#37fa42c1ff3bb0b29d7625ef3c7f5e72">regexp</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">pcre * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLicense.html#e3bdf30dd10ac75c3d0823531ebea9c6">exclude_regexp</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Holds a license and its associated details and patterns. <hr><h2>Field Documentation</h2>
<a class="anchor" name="105f5f3de6a8a6eb67b0e0318ce60515"></a><!-- doxytag: member="License::exclude_re" ref="105f5f3de6a8a6eb67b0e0318ce60515" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structLicense.html#105f5f3de6a8a6eb67b0e0318ce60515">License::exclude_re</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A PCRE regular expression for text that matches re, but should not match this re in order to match this license.
</div>
</div><p>
<a class="anchor" name="7ef78e82759738f0532e894e9ee767b0"></a><!-- doxytag: member="License::exclude_re_flags" ref="7ef78e82759738f0532e894e9ee767b0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structLicense.html#7ef78e82759738f0532e894e9ee767b0">License::exclude_re_flags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
PCRE flags for exclude_re.
</div>
</div><p>
<a class="anchor" name="e3bdf30dd10ac75c3d0823531ebea9c6"></a><!-- doxytag: member="License::exclude_regexp" ref="e3bdf30dd10ac75c3d0823531ebea9c6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">pcre* <a class="el" href="structLicense.html#e3bdf30dd10ac75c3d0823531ebea9c6">License::exclude_regexp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The PCRE object for exclude_re. (This field is set automatically.)
</div>
</div><p>
<a class="anchor" name="c6c78e89f5593adf3ddfdf6d7b206cae"></a><!-- doxytag: member="License::name" ref="c6c78e89f5593adf3ddfdf6d7b206cae" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structLicense.html#c6c78e89f5593adf3ddfdf6d7b206cae">License::name</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The ID name of the license. Should be in defined in <a class="el" href="licenses_8h.html">licenses.h</a>.
</div>
</div><p>
<a class="anchor" name="9978ac560432f298637f9b0f3075d0a2"></a><!-- doxytag: member="License::nice_name" ref="9978ac560432f298637f9b0f3075d0a2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structLicense.html#9978ac560432f298637f9b0f3075d0a2">License::nice_name</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A nice displayable name for the license.
</div>
</div><p>
<a class="anchor" name="eb62fae84281e10e0780522e8dcaae40"></a><!-- doxytag: member="License::re" ref="eb62fae84281e10e0780522e8dcaae40" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structLicense.html#eb62fae84281e10e0780522e8dcaae40">License::re</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A PCRE regular expression for text that matches this license.
</div>
</div><p>
<a class="anchor" name="8565ff83446bd71ed1a489100dbc12d0"></a><!-- doxytag: member="License::re_flags" ref="8565ff83446bd71ed1a489100dbc12d0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structLicense.html#8565ff83446bd71ed1a489100dbc12d0">License::re_flags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
PCRE flags for re. (Typically PCRE_CASELESS or PCRE_MULTILINE).
</div>
</div><p>
<a class="anchor" name="37fa42c1ff3bb0b29d7625ef3c7f5e72"></a><!-- doxytag: member="License::regexp" ref="37fa42c1ff3bb0b29d7625ef3c7f5e72" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">pcre* <a class="el" href="structLicense.html#37fa42c1ff3bb0b29d7625ef3c7f5e72">License::regexp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The PCRE object for re. (This field is set automatically.)
</div>
</div><p>
<a class="anchor" name="7ebe77459ff7519213f049e10dd45298"></a><!-- doxytag: member="License::url" ref="7ebe77459ff7519213f049e10dd45298" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structLicense.html#7ebe77459ff7519213f049e10dd45298">License::url</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The string URL to the license's website.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>/Users/andy/dev/ohcount/src/<a class="el" href="structs_8h_source.html">structs.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 15:20:08 2009 for ohcount by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>