Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > e9fca32892116c2c27cf46145520942a > files > 34

liblogging-devel-1.0.6-2.mga7.armv7hl.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">
<title>liblogging: beepprofile.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>beepprofile.h File Reference</h1>The BEEP Profile Object.  
<a href="#_details">More...</a>
<p>

<p>
<a href="beepprofile_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structsbProfObject.html">sbProfObject</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The BEEP Profile object. </em> <a href="structsbProfObject.html#_details">More...</a><em><br><br></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a0" doxytag="beepprofile.h::__LIB3195_BEEPPROFILE_H_INCLUDED__"></a>
#define&nbsp;</td><td class="memItemRight" valign=bottom><b>__LIB3195_BEEPPROFILE_H_INCLUDED__</b>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a1" doxytag="beepprofile.h::sbProfCHECKVALIDOBJECT"></a>
#define&nbsp;</td><td class="memItemRight" valign=bottom><b>sbProfCHECKVALIDOBJECT</b>(x)&nbsp;&nbsp;&nbsp;{assert(x != NULL); assert(x-&gt;OID == OIDsbProf);}</td></tr>

<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a2" doxytag="beepprofile.h::sbProfObj"></a>
typedef <a class="el" href="structsbProfObject.html">sbProfObject</a>&nbsp;</td><td class="memItemRight" valign=bottom><b>sbProfObj</b></td></tr>

<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="liblogging_8h.html#a6">srRetVal</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a3">sbProfConstruct</a> (<a class="el" href="structsbProfObject.html">sbProfObj</a> **ppThis, char *pszURI)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor to create a sbProf. </em> <a href="#a3"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a4">sbProfGetURI</a> (<a class="el" href="structsbProfObject.html">sbProfObj</a> *pThis)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the profile URI. </em> <a href="#a4"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a5" doxytag="beepprofile.h::sbProfDestroy"></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a5">sbProfDestroy</a> (<a class="el" href="structsbProfObject.html">sbProfObj</a> *pThis)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Profile Object Destructor. <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="liblogging_8h.html#a6">srRetVal</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a6">sbProfSetEventHandler</a> (struct <a class="el" href="structsbProfObject.html">sbProfObject</a> *pThis, sbProfEvent iEvent, <a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*handler)())</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set and unset an event handler. </em> <a href="#a6"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="liblogging_8h.html#a6">srRetVal</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a7">sbProfSetAPIObj</a> (<a class="el" href="structsbProfObject.html">sbProfObj</a> *pThis, <a class="el" href="structsrAPIObject.html">srAPIObj</a> *pAPI)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the associated API object. </em> <a href="#a7"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsbProfObject.html">sbProfObj</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a8">sbProfFindProfileMatch</a> (struct sbNVTRObject *pProfListRemote, struct sbNVTRObject *pProfList2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find a matching profile in two lists of profiles. </em> <a href="#a8"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsbProfObject.html">sbProfObj</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a9">sbProfFindProfile</a> (struct sbNVTRObject *pProfList, char *pszSearch)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find a profile based on an URI in a list of profiles. </em> <a href="#a9"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="liblogging_8h.html#a6">srRetVal</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a10">sbProfSetClntEventHandlers</a> (<a class="el" href="structsbProfObject.html">sbProfObj</a> *pProf, <a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*OnClntOpenLogChan)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan), <a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*OnClntSendLogMsg)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan, char *szLogmsg), <a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*OnClntSendSLMG)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan, struct srSLMGObject *pSLMG), <a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*OnClntCloseLogChan)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan))</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the 4 mandatory event handlers for client profiles. </em> <a href="#a10"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structsbProfObject.html">sbProfObj</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="beepprofile_8h.html#a11">sbProfFindProfileURIMatch</a> (struct sbNVTRObject *pProfListLocal, struct sbNVTRObject *pURIListRemote)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Take a list of profile objects AND a list of (remotely supported) profile URIs and find a match in them. </em> <a href="#a11"></a><em><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The BEEP Profile Object. 
<p>
<dl compact><dt><b>Author:</b></dt><dd>Rainer Gerhards &lt;<a href="mailto:rgerhards@adiscon.com">rgerhards@adiscon.com</a>&gt; </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>2003-08-04<p>
2003-09-04 Updated so that a client can have multiple profiles.</dd></dl>
Copyright 2002-2003 Rainer Gerhards and Adiscon GmbH. All Rights Reserved.<p>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:<p>
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.<p>
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.<p>
* Neither the name of Adiscon GmbH or Rainer Gerhards nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.<p>
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<hr><h2>Function Documentation</h2>
<a name="a3" doxytag="beepprofile.h::sbProfConstruct"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="liblogging_8h.html#a6">srRetVal</a> sbProfConstruct </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structsbProfObject.html">sbProfObj</a> **&nbsp;</td>
          <td class="mdname" nowrap> <em>ppThis</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>char *&nbsp;</td>
          <td class="mdname" nowrap> <em>pszURI</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor to create a sbProf. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>ppThis</em>&nbsp;</td><td>[out] pointer to a buffer that will receive the pointer to the newly created profile object. </td></tr>
    <tr><td valign=top><em>szURI</em>&nbsp;</td><td>[in] - name of uri to be used in greeting. May be NULL for a profile, that should not be advertised (channel 0 is a meaningful sample). </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a9" doxytag="beepprofile.h::sbProfFindProfile"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structsbProfObject.html">sbProfObj</a>* sbProfFindProfile </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">struct sbNVTRObject *&nbsp;</td>
          <td class="mdname" nowrap> <em>pProfList</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>char *&nbsp;</td>
          <td class="mdname" nowrap> <em>pszSearch</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find a profile based on an URI in a list of profiles. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pProfileList</em>&nbsp;</td><td>Pointer to list of Profiles. May be NULL. </td></tr>
    <tr><td valign=top><em>pszSearch</em>&nbsp;</td><td>string to be compared to. Must not be NULL. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>Pointer</em>&nbsp;</td><td>to the profile found or NULL, if none found. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a8" doxytag="beepprofile.h::sbProfFindProfileMatch"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structsbProfObject.html">sbProfObj</a>* sbProfFindProfileMatch </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">struct sbNVTRObject *&nbsp;</td>
          <td class="mdname" nowrap> <em>pProfListRemote</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>struct sbNVTRObject *&nbsp;</td>
          <td class="mdname" nowrap> <em>pProfList2</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find a matching profile in two lists of profiles. 
<p>
The matching is done based on the URI. If a match is found, we return the pointer to it. If it is not found, we return NULL. The FIRST matching profile will be returned. It is not tried to find the best match.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pProfListRemote</em>&nbsp;</td><td>List of remote profiles, created from the greeting. This are NOT profile objects but rather URI strings in pszKey. </td></tr>
    <tr><td valign=top><em>pProfList2</em>&nbsp;</td><td>list (sbNVTRObj) of profiles. MAY BE NULL! (which indicates an empty list of profiles. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>Pointer</em>&nbsp;</td><td>to the first matching entry or NULL, if none found. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a11" doxytag="beepprofile.h::sbProfFindProfileURIMatch"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="structsbProfObject.html">sbProfObj</a>* sbProfFindProfileURIMatch </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">struct sbNVTRObject *&nbsp;</td>
          <td class="mdname" nowrap> <em>pProfListLocal</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>struct sbNVTRObject *&nbsp;</td>
          <td class="mdname" nowrap> <em>pURIListRemote</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Take a list of profile objects AND a list of (remotely supported) profile URIs and find a match in them. 
<p>
The matching is done so that the first local profile found in the remote URI list will be returned. If there are multiple matches, all other matches will be IGNORED.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pProfListLocal</em>&nbsp;</td><td>List of locally supported profile objects.</td></tr>
    <tr><td valign=top><em>pURIListRemote</em>&nbsp;</td><td>List of remotely supported profile URIs.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>The</em>&nbsp;</td><td>matching profile object from the local profile object. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a4" doxytag="beepprofile.h::sbProfGetURI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char* sbProfGetURI </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structsbProfObject.html">sbProfObj</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pThis</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the profile URI. 
<p>
The returned string is read-only. <dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>URI</em>&nbsp;</td><td>profile string </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a7" doxytag="beepprofile.h::sbProfSetAPIObj"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="liblogging_8h.html#a6">srRetVal</a> sbProfSetAPIObj </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structsbProfObject.html">sbProfObj</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pThis</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="structsrAPIObject.html">srAPIObj</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pAPI</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the associated API object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>pAPI</em>&nbsp;</td><td>- API object to be set. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a10" doxytag="beepprofile.h::sbProfSetClntEventHandlers"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="liblogging_8h.html#a6">srRetVal</a> sbProfSetClntEventHandlers </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="structsbProfObject.html">sbProfObj</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pProf</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*&nbsp;</td>
          <td class="mdname" nowrap> <em>OnClntOpenLogChan</em>)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan), </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*&nbsp;</td>
          <td class="mdname" nowrap> <em>OnClntSendLogMsg</em>)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan, char *szLogmsg), </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*&nbsp;</td>
          <td class="mdname" nowrap> <em>OnClntSendSLMG</em>)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan, struct srSLMGObject *pSLMG), </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*&nbsp;</td>
          <td class="mdname" nowrap> <em>OnClntCloseLogChan</em>)(struct <a class="el" href="structsbChanObject.html">sbChanObject</a> *pChan)</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the 4 mandatory event handlers for client profiles. 
<p>
As all of them need to be set for the profile to work, we provide a single call to set them all at once.<p>
The param names reflect the names of the event handlers. All event handlers MUST point to actual handlers, none if them is allowed to be NULL.     </td>
  </tr>
</table>
<a name="a6" doxytag="beepprofile.h::sbProfSetEventHandler"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="liblogging_8h.html#a6">srRetVal</a> sbProfSetEventHandler </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">struct <a class="el" href="structsbProfObject.html">sbProfObject</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pThis</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>sbProfEvent&nbsp;</td>
          <td class="mdname" nowrap> <em>iEvent</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="liblogging_8h.html#a6">srRetVal</a>(*&nbsp;</td>
          <td class="mdname" nowrap> <em>handler</em>)()</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set and unset an event handler. 
<p>
A new handler is set for the specified event. To unset it, provide NULL as the handler pointer.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>iEvent</em>&nbsp;</td><td>Event ID to be modified </td></tr>
    <tr><td valign=top><em>handler</em>&nbsp;</td><td>Pointer to event handler. Must follow the semantics of this specific event (will not be checked) </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Mon Oct 3 12:29:55 2005 for liblogging by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.2 </small></address>
</body>
</html>