Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 5a48463e56bd4803e99af0ff1341e8fe > files > 91

ecore-devel-0.9.9.49898-1.fc14.i686.rpm

<html>
<head>
    <title>Ecore: Ecore Config File Functions</title>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
    <meta name="author" content="Andres Blanc" >
    
    <link rel="icon" href="img/favicon.png" type="image/x-icon">
    <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon">
    <link rel="icon" href="img/favicon.png" type="image/ico">
    <link rel="shortcut icon" href="img/favicon.png" type="image/ico">

    <link rel="stylesheet" type="text/css" href="e.css">
    <link rel="stylesheet" type="text/css" href="edoxy.css">
</head>

<body>

<div id="container">

<div id="header">
<div class="layout">
    
    <h1><span>Enlightenment</span></h1>
    <h2><span>Beauty at your fingertips</span></h2>

    <table cellspacing="0" cellpadding="0" width="100%"><tr>
      <td id="header_logo">
        <a href="http://www.enlightenment.org"></a>
      </td>
      <td id="header_menu">
        <table cellspacing="0" cellpadding="0" align="right"><tr>
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=home">Home</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=news">News</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=about">About</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=download">Download</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=support">Support</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contribute">Contribute</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contact">Contact</a></td> 
          <td class="nav_passive"><a class="nav_passive" href="http://trac.enlightenment.org/e">Tracker</a></td>
          <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=docs">Docs</a></td> 
        </tr></table>          
      </td>
      <td id="header_last"></td>
    </tr></table>

    <div class="doxytitle">
        Ecore Documentation <small>at 2 Jul 2010</small>
    </div>

    <div class="menu-container">
        <div class="submenu">
            <ul class="current">
                <li><a href="files.html">Files</a></li>
                <li><a href="annotated.html">Data Structures</a></li>
                <li><a href="globals.html">Globals</a></li>
                <li><a href="modules.html">Modules</a></li>
                <li><a href="pages.html">Related Pages</a></li>
	        <li class="current"><a  href="index.html">Main Page</a></li>
            </ul>
        </div>
    </div>


    <div class="clear"></div>
</div>
</div>

<div id="content">
<div class="layout">
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="contents">
<h1>Ecore Config File Functions</h1>
<p>Functions that are used to load and save properties from and to files.  
<a href="#_details">More...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">EAPI int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__Config__File__Group.html#ga8e064585346f2234620dbbeb034d406b">ecore_config_load</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the default configuration.  <a href="#ga8e064585346f2234620dbbeb034d406b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">EAPI int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__Config__File__Group.html#ga94318c18d7c19ea2980552edddb88899">ecore_config_save</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the current configuration to the default file.  <a href="#ga94318c18d7c19ea2980552edddb88899"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">EAPI int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__Config__File__Group.html#gafcaee9b135bc412ac41b87fdf72bc289">ecore_config_file_load</a> (const char *file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load the given configuration file to the local configuration.  <a href="#gafcaee9b135bc412ac41b87fdf72bc289"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">EAPI int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__Config__File__Group.html#gaf9b8be68224f804946e7409084ad967e">ecore_config_file_save</a> (const char *file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the local configuration to the given file.  <a href="#gaf9b8be68224f804946e7409084ad967e"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Functions that are used to load and save properties from and to files. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gafcaee9b135bc412ac41b87fdf72bc289"></a><!-- doxytag: member="ecore_config_storage.c::ecore_config_file_load" ref="gafcaee9b135bc412ac41b87fdf72bc289" args="(const char *file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EAPI int ecore_config_file_load </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>file</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Load the given configuration file to the local configuration. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file</em>&nbsp;</td><td>Name of the file to load. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>ECORE_CONFIG_ERR_SUCC</code> on success. <code>ECORE_CONFIG_ERR_NODATA</code> is returned if the file cannot be loaded. </dd></dl>

<p>Referenced by <a class="el" href="ecore__config__storage_8c_source.html#l00029">ecore_config_load()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf9b8be68224f804946e7409084ad967e"></a><!-- doxytag: member="ecore_config_storage.c::ecore_config_file_save" ref="gaf9b8be68224f804946e7409084ad967e" args="(const char *file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EAPI int ecore_config_file_save </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>file</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Saves the local configuration to the given file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file</em>&nbsp;</td><td>Name of the file to save to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>ECORE_CONFIG_ERR_SUCC</code> is returned on success. <code>ECORE_CONFIG_ERR_FAIL</code> is returned if the data cannot be saved. </dd></dl>

<p>Referenced by <a class="el" href="ecore__config__storage_8c_source.html#l00049">ecore_config_save()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8e064585346f2234620dbbeb034d406b"></a><!-- doxytag: member="ecore_config_storage.c::ecore_config_load" ref="ga8e064585346f2234620dbbeb034d406b" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EAPI int ecore_config_load </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Loads the default configuration. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>ECORE_CONFIG_ERR_SUCC</code> on success. <code>ECORE_CONFIG_ERR_NODATA</code> is returned if the file cannot be loaded. </dd></dl>

<p>References <a class="el" href="ecore__config__storage_8c_source.html#l00069">ecore_config_file_load()</a>.</p>

</div>
</div>
<a class="anchor" id="ga94318c18d7c19ea2980552edddb88899"></a><!-- doxytag: member="ecore_config_storage.c::ecore_config_save" ref="ga94318c18d7c19ea2980552edddb88899" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">EAPI int ecore_config_save </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Saves the current configuration to the default file. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>ECORE_CONFIG_ERR_SUCC</code> is returned on success. <code>ECORE_CONFIG_ERR_FAIL</code> is returned if the data cannot be saved. </dd></dl>

<p>References <a class="el" href="ecore__config__storage_8c_source.html#l00141">ecore_config_file_save()</a>.</p>

</div>
</div>
</div>
 
 <div id="push"></div>
 </div> <!-- #content -->
  </div> <!-- .layout -->
 
 </div> <!-- #container -->
 
 
  <div id="footer">
    <table><tr>
      <td class="copyright">Copyright &copy;2010 Enlightenment</td>
      <td class="generated">Docs generated Fri Jul 2 12:11:49 2010</td>
    </tr></table>
  </div>


</body>
</html>