616 lines
37 KiB
HTML
616 lines
37 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<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.5.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></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#a03de06e5f893f1803222c79dbf6a8ac3">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="target__manager_8c.html#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="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">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#a03de06e5f893f1803222c79dbf6a8ac3">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="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">target_param_t</a> *reftarget, <a class="el" href="target__manager_8h.html#a22c693d87269ed79783cb227a54ed4e9">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="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">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="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">target_param_t</a> **target)</td></tr>
|
|
<tr class="memdesc:ab1b6dde48f43ef27ae5c48582412d5e9"><td class="mdescLeft"> </td><td class="mdescRight">delete a target <a href="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">target_param_t</a> **target, <a class="el" href="target__manager_8h.html#a03de06e5f893f1803222c79dbf6a8ac3">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="target__manager_8c.html#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#a03de06e5f893f1803222c79dbf6a8ac3">targetlist_param_t</a> **targetlist)</td></tr>
|
|
<tr class="memdesc:a6cb2e1815fd26100a528370452c20945"><td class="mdescLeft"> </td><td class="mdescRight">delete target list <a href="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">target_param_t</a> *target)</td></tr>
|
|
<tr class="memdesc:a70f4754f86b888e3f0b8a471ed58a17f"><td class="mdescLeft"> </td><td class="mdescRight">print target parameters <a href="target__manager_8c.html#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#a03de06e5f893f1803222c79dbf6a8ac3">targetlist_param_t</a> *targetlist)</td></tr>
|
|
<tr class="memdesc:abe48fd7b8d8f521d4d73569b8bb0a3c2"><td class="mdescLeft"> </td><td class="mdescRight">print all target parameters <a href="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">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#a03de06e5f893f1803222c79dbf6a8ac3">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="target__manager_8c.html#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#a22c693d87269ed79783cb227a54ed4e9">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#a03de06e5f893f1803222c79dbf6a8ac3">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="target__manager_8c.html#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 id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a77b5d5af2adb2cfa7ec785b592fc4074">◆ </a></span>FCGI_stderr</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stderr   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac322e421aefb8ec9ccc10bef953e3d82">◆ </a></span>FCGI_stdout</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stdout   stdout</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a31c99676da88bb0bcdb350710f00fa96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31c99676da88bb0bcdb350710f00fa96">◆ </a></span>logstream</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define logstream   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="ab1b6dde48f43ef27ae5c48582412d5e9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab1b6dde48f43ef27ae5c48582412d5e9">◆ </a></span>delete_target()</h2>
|
|
|
|
<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#a22c693d87269ed79783cb227a54ed4e9">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 class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>.</p>
|
|
|
|
<p class="reference">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 id="a92923f09314b612eff829c5ff5cd6a33"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92923f09314b612eff829c5ff5cd6a33">◆ </a></span>delete_target_in_list()</h2>
|
|
|
|
<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#a22c693d87269ed79783cb227a54ed4e9">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#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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 id="a6cb2e1815fd26100a528370452c20945"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6cb2e1815fd26100a528370452c20945">◆ </a></span>delete_targetlist()</h2>
|
|
|
|
<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#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afff9d3a8abcbaa01253c294506dc96ba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afff9d3a8abcbaa01253c294506dc96ba">◆ </a></span>gene_target()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#a22c693d87269ed79783cb227a54ed4e9">target_param_t</a>* gene_target </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="target__manager_8h.html#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">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 class="reference">Referenced by <a class="el" href="jpip__parser_8h.html#a4c5060e4a625ad5f2ffa5dfa4e47cf12">identify_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a388cd6fd34254f96a49a4697b2c75051"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a388cd6fd34254f96a49a4697b2c75051">◆ </a></span>gene_targetlist()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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>, and <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae6c0ecb49c166bff41fafbfc96543dfd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae6c0ecb49c166bff41fafbfc96543dfd">◆ </a></span>open_jp2file()</h2>
|
|
|
|
<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 class="reference">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="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, and <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="target__manager_8h.html#afff9d3a8abcbaa01253c294506dc96ba">gene_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac02b149e177c6d198b19e340a8731755"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac02b149e177c6d198b19e340a8731755">◆ </a></span>open_remotefile()</h2>
|
|
|
|
<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 class="reference">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 class="reference">Referenced by <a class="el" href="target__manager_8c.html#ae6c0ecb49c166bff41fafbfc96543dfd">open_jp2file()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abe48fd7b8d8f521d4d73569b8bb0a3c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abe48fd7b8d8f521d4d73569b8bb0a3c2">◆ </a></span>print_alltarget()</h2>
|
|
|
|
<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#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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 id="a70f4754f86b888e3f0b8a471ed58a17f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a70f4754f86b888e3f0b8a471ed58a17f">◆ </a></span>print_target()</h2>
|
|
|
|
<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#a22c693d87269ed79783cb227a54ed4e9">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 class="reference">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 class="reference">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 id="a7b08bd1ea87c9daba4d249892c39aba1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7b08bd1ea87c9daba4d249892c39aba1">◆ </a></span>refer_target()</h2>
|
|
|
|
<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#a22c693d87269ed79783cb227a54ed4e9">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#a22c693d87269ed79783cb227a54ed4e9">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 class="reference">References <a class="el" href="structtarget__param.html#a057f7a3cd287995cf3f4ec847f11b960">target_param::num_of_use</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="cachemodel__manager_8h.html#a8536ce465d342e4cd99e618c4c20e6d7">gene_cachemodel()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad3a4f792dd27c81fb2c355708ac4b62a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad3a4f792dd27c81fb2c355708ac4b62a">◆ </a></span>search_target()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#a22c693d87269ed79783cb227a54ed4e9">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#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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 class="reference">Referenced by <a class="el" href="jpip__parser_8h.html#a4c5060e4a625ad5f2ffa5dfa4e47cf12">identify_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ada4a46123e4fd43bcfeae69eda0051e5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ada4a46123e4fd43bcfeae69eda0051e5">◆ </a></span>search_targetBytid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="target__manager_8h.html#a22c693d87269ed79783cb227a54ed4e9">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#a03de06e5f893f1803222c79dbf6a8ac3">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 class="reference">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#a894903c8b208b2746717b3f1b2520234">target_param::tid</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="jpip__parser_8h.html#a4c5060e4a625ad5f2ffa5dfa4e47cf12">identify_target()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a22963b6f86858c316cb3ef865deef531"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a22963b6f86858c316cb3ef865deef531">◆ </a></span>unrefer_target()</h2>
|
|
|
|
<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#a22c693d87269ed79783cb227a54ed4e9">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 class="reference">References <a class="el" href="structtarget__param.html#a057f7a3cd287995cf3f4ec847f11b960">target_param::num_of_use</a>.</p>
|
|
|
|
<p class="reference">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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|