Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > e442f25441021819b5294cada0f929c8 > files > 37

oyranos-devel-0.2.0-3.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="keywords" content="Oyranos,Colour Management,Color Management,ICC,CMS,C,doxygen,API,documentation"/>
<meta name="description" content="C source code API documentation for the Oyranos project."/>
<title>Oyranos: Default Profiles API</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>

<table class="title">
<tr>
<td class='logo' rowspan="2"><a href='http://www.oyranos.org'><img src='oyranos_logo.png' alt="Oyranos Icon linux/BSD/Unix/osX" border="0"/></a></td>
<td>Oyranos Colour Management System API</td>
</tr>
</table>
<!-- Generated by Doxygen 1.7.3 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<h1>Default Profiles API</h1>  </div>
</div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__default__profiles.html#gabbb9aa5aff6411d0190563aacd7ceb16">oySetDefaultProfile</a> (<a class="el" href="oyranos_8h.html#aab99ac2c96ef712033e41af8f5bf96dd">oyPROFILE_e</a> type, const char *file_name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__default__profiles.html#ga241f4c49fcaf91ed8760b3b5067249d2">oySetDefaultProfileBlock</a> (<a class="el" href="oyranos_8h.html#aab99ac2c96ef712033e41af8f5bf96dd">oyPROFILE_e</a> type, const char *file_name, void *mem, size_t size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__default__profiles.html#ga8444c59b9dc94c6ce19f60c986d8d7c9">oyGetDefaultProfileName</a> (<a class="el" href="oyranos_8h.html#aab99ac2c96ef712033e41af8f5bf96dd">oyPROFILE_e</a> type, oyAlloc_f allocate_func)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Functions to handle and configure default profiles.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>path_names </dd></dl>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga8444c59b9dc94c6ce19f60c986d8d7c9"></a><!-- doxytag: member="oyranos.c::oyGetDefaultProfileName" ref="ga8444c59b9dc94c6ce19f60c986d8d7c9" args="(oyPROFILE_e type, oyAlloc_f allocate_func)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* oyGetDefaultProfileName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="oyranos_8h.html#aab99ac2c96ef712033e41af8f5bf96dd">oyPROFILE_e</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">oyAlloc_f&#160;</td>
          <td class="paramname"><em>allocate_func</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets a default profile filename.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>the kind of default profile </td></tr>
    <tr><td class="paramname">allocate_func</td><td>the allocation function needed to reserve memory for the filename string </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>filename </dd></dl>

</div>
</div>
<a class="anchor" id="gabbb9aa5aff6411d0190563aacd7ceb16"></a><!-- doxytag: member="oyranos.c::oySetDefaultProfile" ref="gabbb9aa5aff6411d0190563aacd7ceb16" args="(oyPROFILE_e type, const char *file_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int oySetDefaultProfile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="oyranos_8h.html#aab99ac2c96ef712033e41af8f5bf96dd">oyPROFILE_e</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets a profile, which is available in the current configured path.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>the kind of default profile </td></tr>
    <tr><td class="paramname">file_name</td><td>the profile which shall become the default for the above specified profile type </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ga241f4c49fcaf91ed8760b3b5067249d2"></a><!-- doxytag: member="oyranos.c::oySetDefaultProfileBlock" ref="ga241f4c49fcaf91ed8760b3b5067249d2" args="(oyPROFILE_e type, const char *file_name, void *mem, size_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int oySetDefaultProfileBlock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="oyranos_8h.html#aab99ac2c96ef712033e41af8f5bf96dd">oyPROFILE_e</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>mem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets a profile, which is available in the current configured path.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>the kind of default profile </td></tr>
    <tr><td class="paramname">file_name</td><td>the profile which shall become the default for the above specified profile type </td></tr>
    <tr><td class="paramname">mem</td><td>the memory containing the profile </td></tr>
    <tr><td class="paramname">size</td><td>the profile size in mem </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>success </dd></dl>

</div>
</div>
</div>
<hr>
<p class="footer">
Generated on Wed Feb 9 2011 05:26:21 for <a href="http://www.oyranos.org">Oyranos</a> by
<a href="http://www.doxygen.org"><img src="doxygen.png" alt="Doxygen"
align="middle" border="0"/>1.7.3</a><br/>
Copyright &copy; 2004-2009 Kai-Uwe Behrmann and others.
All Rights Reserved.</p>

<hr>
<!--#include virtual="/attrib.incl" -->

</body>
</html>