595 lines
36 KiB
HTML
595 lines
36 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>OpenJPEG: target_manager.c File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.4.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54d80c9412497e935deb5677b5fae801.html">openjpip</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">target_manager.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <stdlib.h></code><br />
|
|
<code>#include <string.h></code><br />
|
|
<code>#include <stdio.h></code><br />
|
|
<code>#include <assert.h></code><br />
|
|
<code>#include <sys/types.h></code><br />
|
|
<code>#include <unistd.h></code><br />
|
|
<code>#include <sys/stat.h></code><br />
|
|
<code>#include <fcntl.h></code><br />
|
|
<code>#include <time.h></code><br />
|
|
<code>#include "<a class="el" href="target__manager_8h_source.html">target_manager.h</a>"</code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>   stdout</td></tr>
|
|
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>   stderr</td></tr>
|
|
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>   stderr</td></tr>
|
|
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a388cd6fd34254f96a49a4697b2c75051"><td class="memItemLeft" align="right" valign="top"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a388cd6fd34254f96a49a4697b2c75051">gene_targetlist</a> (void)</td></tr>
|
|
<tr class="memdesc:a388cd6fd34254f96a49a4697b2c75051"><td class="mdescLeft"> </td><td class="mdescRight">generate a target list <a href="#a388cd6fd34254f96a49a4697b2c75051">More...</a><br /></td></tr>
|
|
<tr class="separator:a388cd6fd34254f96a49a4697b2c75051"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae6c0ecb49c166bff41fafbfc96543dfd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#ae6c0ecb49c166bff41fafbfc96543dfd">open_jp2file</a> (const char filepath[], char tmpfname[])</td></tr>
|
|
<tr class="memdesc:ae6c0ecb49c166bff41fafbfc96543dfd"><td class="mdescLeft"> </td><td class="mdescRight">open jp2 format image file <a href="#ae6c0ecb49c166bff41fafbfc96543dfd">More...</a><br /></td></tr>
|
|
<tr class="separator:ae6c0ecb49c166bff41fafbfc96543dfd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afff9d3a8abcbaa01253c294506dc96ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#afff9d3a8abcbaa01253c294506dc96ba">gene_target</a> (<a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> *targetlist, char *targetpath)</td></tr>
|
|
<tr class="memdesc:afff9d3a8abcbaa01253c294506dc96ba"><td class="mdescLeft"> </td><td class="mdescRight">generate a target <a href="#afff9d3a8abcbaa01253c294506dc96ba">More...</a><br /></td></tr>
|
|
<tr class="separator:afff9d3a8abcbaa01253c294506dc96ba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7b08bd1ea87c9daba4d249892c39aba1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a7b08bd1ea87c9daba4d249892c39aba1">refer_target</a> (<a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *reftarget, <a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> **ptr)</td></tr>
|
|
<tr class="memdesc:a7b08bd1ea87c9daba4d249892c39aba1"><td class="mdescLeft"> </td><td class="mdescRight">refer a target, used to make a new cache model <a href="#a7b08bd1ea87c9daba4d249892c39aba1">More...</a><br /></td></tr>
|
|
<tr class="separator:a7b08bd1ea87c9daba4d249892c39aba1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a22963b6f86858c316cb3ef865deef531"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a22963b6f86858c316cb3ef865deef531">unrefer_target</a> (<a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *target)</td></tr>
|
|
<tr class="memdesc:a22963b6f86858c316cb3ef865deef531"><td class="mdescLeft"> </td><td class="mdescRight">refer a target, used to make a new cache model <a href="#a22963b6f86858c316cb3ef865deef531">More...</a><br /></td></tr>
|
|
<tr class="separator:a22963b6f86858c316cb3ef865deef531"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab1b6dde48f43ef27ae5c48582412d5e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#ab1b6dde48f43ef27ae5c48582412d5e9">delete_target</a> (<a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> **target)</td></tr>
|
|
<tr class="memdesc:ab1b6dde48f43ef27ae5c48582412d5e9"><td class="mdescLeft"> </td><td class="mdescRight">delete a target <a href="#ab1b6dde48f43ef27ae5c48582412d5e9">More...</a><br /></td></tr>
|
|
<tr class="separator:ab1b6dde48f43ef27ae5c48582412d5e9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92923f09314b612eff829c5ff5cd6a33"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a92923f09314b612eff829c5ff5cd6a33">delete_target_in_list</a> (<a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> **target, <a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> *targetlist)</td></tr>
|
|
<tr class="memdesc:a92923f09314b612eff829c5ff5cd6a33"><td class="mdescLeft"> </td><td class="mdescRight">delete a target in list <a href="#a92923f09314b612eff829c5ff5cd6a33">More...</a><br /></td></tr>
|
|
<tr class="separator:a92923f09314b612eff829c5ff5cd6a33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6cb2e1815fd26100a528370452c20945"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a6cb2e1815fd26100a528370452c20945">delete_targetlist</a> (<a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> **targetlist)</td></tr>
|
|
<tr class="memdesc:a6cb2e1815fd26100a528370452c20945"><td class="mdescLeft"> </td><td class="mdescRight">delete target list <a href="#a6cb2e1815fd26100a528370452c20945">More...</a><br /></td></tr>
|
|
<tr class="separator:a6cb2e1815fd26100a528370452c20945"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a70f4754f86b888e3f0b8a471ed58a17f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#a70f4754f86b888e3f0b8a471ed58a17f">print_target</a> (<a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> *target)</td></tr>
|
|
<tr class="memdesc:a70f4754f86b888e3f0b8a471ed58a17f"><td class="mdescLeft"> </td><td class="mdescRight">print target parameters <a href="#a70f4754f86b888e3f0b8a471ed58a17f">More...</a><br /></td></tr>
|
|
<tr class="separator:a70f4754f86b888e3f0b8a471ed58a17f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abe48fd7b8d8f521d4d73569b8bb0a3c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#abe48fd7b8d8f521d4d73569b8bb0a3c2">print_alltarget</a> (<a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> *targetlist)</td></tr>
|
|
<tr class="memdesc:abe48fd7b8d8f521d4d73569b8bb0a3c2"><td class="mdescLeft"> </td><td class="mdescRight">print all target parameters <a href="#abe48fd7b8d8f521d4d73569b8bb0a3c2">More...</a><br /></td></tr>
|
|
<tr class="separator:abe48fd7b8d8f521d4d73569b8bb0a3c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad3a4f792dd27c81fb2c355708ac4b62a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#ad3a4f792dd27c81fb2c355708ac4b62a">search_target</a> (const char targetname[], <a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> *targetlist)</td></tr>
|
|
<tr class="memdesc:ad3a4f792dd27c81fb2c355708ac4b62a"><td class="mdescLeft"> </td><td class="mdescRight">search a target by target name <a href="#ad3a4f792dd27c81fb2c355708ac4b62a">More...</a><br /></td></tr>
|
|
<tr class="separator:ad3a4f792dd27c81fb2c355708ac4b62a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ada4a46123e4fd43bcfeae69eda0051e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#ada4a46123e4fd43bcfeae69eda0051e5">search_targetBytid</a> (const char tid[], <a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> *targetlist)</td></tr>
|
|
<tr class="memdesc:ada4a46123e4fd43bcfeae69eda0051e5"><td class="mdescLeft"> </td><td class="mdescRight">search a target by tid <a href="#ada4a46123e4fd43bcfeae69eda0051e5">More...</a><br /></td></tr>
|
|
<tr class="separator:ada4a46123e4fd43bcfeae69eda0051e5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac02b149e177c6d198b19e340a8731755"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="target__manager_8c.html#ac02b149e177c6d198b19e340a8731755">open_remotefile</a> (const char filepath[], char tmpfname[])</td></tr>
|
|
<tr class="separator:ac02b149e177c6d198b19e340a8731755"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stderr   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="target__manager_8h.html#ab1b6dde48f43ef27ae5c48582412d5e9">delete_target()</a>, <a class="el" href="target__manager_8h.html#afff9d3a8abcbaa01253c294506dc96ba">gene_target()</a>, and <a class="el" href="target__manager_8c.html#ac02b149e177c6d198b19e340a8731755">open_remotefile()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stdout   stdout</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="target__manager_8h.html#afff9d3a8abcbaa01253c294506dc96ba">gene_target()</a>, <a class="el" href="target__manager_8c.html#ae6c0ecb49c166bff41fafbfc96543dfd">open_jp2file()</a>, and <a class="el" href="target__manager_8c.html#ac02b149e177c6d198b19e340a8731755">open_remotefile()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a31c99676da88bb0bcdb350710f00fa96"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define logstream   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="target__manager_8h.html#ab1b6dde48f43ef27ae5c48582412d5e9">delete_target()</a>, <a class="el" href="target__manager_8h.html#afff9d3a8abcbaa01253c294506dc96ba">gene_target()</a>, and <a class="el" href="target__manager_8h.html#a70f4754f86b888e3f0b8a471ed58a17f">print_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="ab1b6dde48f43ef27ae5c48582412d5e9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> ** </td>
|
|
<td class="paramname"><em>target</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>delete a target </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">target</td><td>address of the deleting target pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="index__manager_8c.html#a8547a6683f5846c256ed1a0b5a55ad29">delete_index()</a>, <a class="el" href="target__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="target__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="target__manager_8h.html#a92923f09314b612eff829c5ff5cd6a33">delete_target_in_list()</a>, and <a class="el" href="target__manager_8h.html#a6cb2e1815fd26100a528370452c20945">delete_targetlist()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a92923f09314b612eff829c5ff5cd6a33"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_target_in_list </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> ** </td>
|
|
<td class="paramname"><em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> * </td>
|
|
<td class="paramname"><em>targetlist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>delete a target in list </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">target</td><td>address of the deleting target pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetlist</td><td>target list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="target__manager_8c.html#ab1b6dde48f43ef27ae5c48582412d5e9">delete_target()</a>, <a class="el" href="structtargetlist__param.html#abc0c23a5de0a1f39ef2e02aad80196cb">targetlist_param::first</a>, <a class="el" href="structtargetlist__param.html#ae2a0fc4684970c19f3a2b8d8901f90f2">targetlist_param::last</a>, and <a class="el" href="structtarget__param.html#a77e272b6376a33c60b6be8d2922634e8">target_param::next</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6cb2e1815fd26100a528370452c20945"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void delete_targetlist </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> ** </td>
|
|
<td class="paramname"><em>targetlist</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>delete target list </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in,out]</td><td class="paramname">targetlist</td><td>address of the target list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="target__manager_8c.html#ab1b6dde48f43ef27ae5c48582412d5e9">delete_target()</a>, <a class="el" href="structtarget__param.html#a77e272b6376a33c60b6be8d2922634e8">target_param::next</a>, and <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afff9d3a8abcbaa01253c294506dc96ba"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a>* gene_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> * </td>
|
|
<td class="paramname"><em>targetlist</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>targetpath</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>generate a target </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetlist</td><td>target list to insert the generated target </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetpath</td><td>file path or URL of the target </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated target </dd></dl>
|
|
|
|
<p>References <a class="el" href="structtarget__param.html#aac158d4d55987cda9053b81a17786c12">target_param::codeidx</a>, <a class="el" href="structtarget__param.html#abf900f3a6f25818b20fabd9f48502a6a">target_param::csn</a>, <a class="el" href="target__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="target__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>, <a class="el" href="structtarget__param.html#a8ad04ede26a00264178f9ed678d70306">target_param::fd</a>, <a class="el" href="structtargetlist__param.html#abc0c23a5de0a1f39ef2e02aad80196cb">targetlist_param::first</a>, <a class="el" href="index__manager_8c.html#ae9e9b509e0078e503da1c0564644a193">isJPTfeasible()</a>, <a class="el" href="structtarget__param.html#acc3f7e29483871762e9be2765d7017a4">target_param::jppstream</a>, <a class="el" href="structtarget__param.html#a40a29d6013b5b62fd489c41cbc2a93a8">target_param::jptstream</a>, <a class="el" href="structtargetlist__param.html#ae2a0fc4684970c19f3a2b8d8901f90f2">targetlist_param::last</a>, <a class="el" href="target__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="target__manager_8h.html#aa1c4bfdf38055d80194d6cae816467c4">MAX_LENOFTID</a>, <a class="el" href="structtarget__param.html#a77e272b6376a33c60b6be8d2922634e8">target_param::next</a>, <a class="el" href="structtarget__param.html#a057f7a3cd287995cf3f4ec847f11b960">target_param::num_of_use</a>, <a class="el" href="target__manager_8c.html#ae6c0ecb49c166bff41fafbfc96543dfd">open_jp2file()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="index__manager_8c.html#aeda761f27ce8cb0ed202d0ea2aa64c7e">parse_jp2file()</a>, <a class="el" href="structtarget__param.html#a9b60d04127436a18e722d871e7c0044f">target_param::targetname</a>, and <a class="el" href="structtarget__param.html#a894903c8b208b2746717b3f1b2520234">target_param::tid</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a4c5060e4a625ad5f2ffa5dfa4e47cf12">identify_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a388cd6fd34254f96a49a4697b2c75051"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a>* gene_targetlist </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>generate a target list </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the generated target list </dd></dl>
|
|
|
|
<p>References <a class="el" href="structtargetlist__param.html#abc0c23a5de0a1f39ef2e02aad80196cb">targetlist_param::first</a>, <a class="el" href="structtargetlist__param.html#ae2a0fc4684970c19f3a2b8d8901f90f2">targetlist_param::last</a>, <a class="el" href="target__manager_8c.html#ae6c0ecb49c166bff41fafbfc96543dfd">open_jp2file()</a>, and <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae6c0ecb49c166bff41fafbfc96543dfd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int open_jp2file </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>filepath</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>tmpfname</em>[] </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>open jp2 format image file </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">filepath</td><td>file name (.jp2) </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">tmpfname</td><td>new file name if filepath is a URL </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>file descriptor </dd></dl>
|
|
|
|
<p>References <a class="el" href="target__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>, <a class="el" href="target__manager_8c.html#ac02b149e177c6d198b19e340a8731755">open_remotefile()</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="target__manager_8h.html#afff9d3a8abcbaa01253c294506dc96ba">gene_target()</a>, and <a class="el" href="target__manager_8h.html#a388cd6fd34254f96a49a4697b2c75051">gene_targetlist()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac02b149e177c6d198b19e340a8731755"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int open_remotefile </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>filepath</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>tmpfname</em>[] </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>References <a class="el" href="target__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="target__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>, and <a class="el" href="target__manager_8h.html#aa1c4bfdf38055d80194d6cae816467c4">MAX_LENOFTID</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="target__manager_8c.html#ae6c0ecb49c166bff41fafbfc96543dfd">open_jp2file()</a>, and <a class="el" href="target__manager_8h.html#ada4a46123e4fd43bcfeae69eda0051e5">search_targetBytid()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abe48fd7b8d8f521d4d73569b8bb0a3c2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void print_alltarget </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> * </td>
|
|
<td class="paramname"><em>targetlist</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print all target parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetlist</td><td>target list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structtargetlist__param.html#abc0c23a5de0a1f39ef2e02aad80196cb">targetlist_param::first</a>, <a class="el" href="structtarget__param.html#a77e272b6376a33c60b6be8d2922634e8">target_param::next</a>, and <a class="el" href="target__manager_8c.html#a70f4754f86b888e3f0b8a471ed58a17f">print_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a70f4754f86b888e3f0b8a471ed58a17f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void print_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> * </td>
|
|
<td class="paramname"><em>target</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print target parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>target pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structtarget__param.html#abf900f3a6f25818b20fabd9f48502a6a">target_param::csn</a>, <a class="el" href="target__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, <a class="el" href="structtarget__param.html#a9b60d04127436a18e722d871e7c0044f">target_param::targetname</a>, and <a class="el" href="structtarget__param.html#a894903c8b208b2746717b3f1b2520234">target_param::tid</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="session__manager_8h.html#a53a7e92eb661d0a8b9837689c2e09ed9">print_allsession()</a>, and <a class="el" href="target__manager_8h.html#abe48fd7b8d8f521d4d73569b8bb0a3c2">print_alltarget()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7b08bd1ea87c9daba4d249892c39aba1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void refer_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> * </td>
|
|
<td class="paramname"><em>reftarget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> ** </td>
|
|
<td class="paramname"><em>ptr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>refer a target, used to make a new cache model </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">reftarget</td><td>reference target pointer </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">ptr</td><td>address of feeding target pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structtarget__param.html#a057f7a3cd287995cf3f4ec847f11b960">target_param::num_of_use</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="cachemodel__manager_8h.html#a8536ce465d342e4cd99e618c4c20e6d7">gene_cachemodel()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad3a4f792dd27c81fb2c355708ac4b62a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a>* search_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>targetname</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> * </td>
|
|
<td class="paramname"><em>targetlist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>search a target by target name </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetname</td><td>target name </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetlist</td><td>target list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>found target pointer </dd></dl>
|
|
|
|
<p>References <a class="el" href="structtargetlist__param.html#abc0c23a5de0a1f39ef2e02aad80196cb">targetlist_param::first</a>, <a class="el" href="structtarget__param.html#a77e272b6376a33c60b6be8d2922634e8">target_param::next</a>, and <a class="el" href="structtarget__param.html#a9b60d04127436a18e722d871e7c0044f">target_param::targetname</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a4c5060e4a625ad5f2ffa5dfa4e47cf12">identify_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ada4a46123e4fd43bcfeae69eda0051e5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a>* search_targetBytid </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char </td>
|
|
<td class="paramname"><em>tid</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a29c265bce5578611d537f2306b81358c">targetlist_param_t</a> * </td>
|
|
<td class="paramname"><em>targetlist</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>search a target by tid </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">tid</td><td>target identifier </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">targetlist</td><td>target list pointer </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>found target pointer </dd></dl>
|
|
|
|
<p>References <a class="el" href="structtargetlist__param.html#abc0c23a5de0a1f39ef2e02aad80196cb">targetlist_param::first</a>, <a class="el" href="structtarget__param.html#a77e272b6376a33c60b6be8d2922634e8">target_param::next</a>, <a class="el" href="target__manager_8c.html#ac02b149e177c6d198b19e340a8731755">open_remotefile()</a>, and <a class="el" href="structtarget__param.html#a894903c8b208b2746717b3f1b2520234">target_param::tid</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="jpip__parser_8h.html#a4c5060e4a625ad5f2ffa5dfa4e47cf12">identify_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a22963b6f86858c316cb3ef865deef531"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void unrefer_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#ae1dfe8b912d0b2c7086e98397cfda12c">target_param_t</a> * </td>
|
|
<td class="paramname"><em>target</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>refer a target, used to make a new cache model </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>reference pointer to the target </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="structtarget__param.html#a057f7a3cd287995cf3f4ec847f11b960">target_param::num_of_use</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="cachemodel__manager_8h.html#a4beb279f2f89ebfea569a93368ddcffa">delete_cachemodel()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|