003 File Manager
Current Path:
/usr/src/contrib/sendmail/libmilter/docs
usr
/
src
/
contrib
/
sendmail
/
libmilter
/
docs
/
📁
..
📄
api.html
(13.08 KB)
📄
design.html
(5.55 KB)
📄
figure1.fig
(1.65 KB)
📄
figure1.jpg
(20.9 KB)
📄
figure1.ps
(4.39 KB)
📄
figure2.fig
(2.13 KB)
📄
figure2.jpg
(46.82 KB)
📄
figure2.ps
(6.33 KB)
📄
index.html
(2.57 KB)
📄
installation.html
(5.86 KB)
📄
other.html
(387 B)
📄
overview.html
(8.12 KB)
📄
sample.html
(12.18 KB)
📄
smfi_addheader.html
(3.74 KB)
📄
smfi_addrcpt.html
(2.02 KB)
📄
smfi_addrcpt_par.html
(2.19 KB)
📄
smfi_chgfrom.html
(2.42 KB)
📄
smfi_chgheader.html
(3.99 KB)
📄
smfi_delrcpt.html
(2.24 KB)
📄
smfi_getpriv.html
(1.57 KB)
📄
smfi_getsymval.html
(3.25 KB)
📄
smfi_insheader.html
(4.73 KB)
📄
smfi_main.html
(1.42 KB)
📄
smfi_opensocket.html
(2.39 KB)
📄
smfi_progress.html
(1.65 KB)
📄
smfi_quarantine.html
(1.86 KB)
📄
smfi_register.html
(6.04 KB)
📄
smfi_replacebody.html
(2.87 KB)
📄
smfi_setbacklog.html
(1.7 KB)
📄
smfi_setconn.html
(2.74 KB)
📄
smfi_setdbg.html
(1.68 KB)
📄
smfi_setmlreply.html
(4.54 KB)
📄
smfi_setpriv.html
(2.06 KB)
📄
smfi_setreply.html
(3.82 KB)
📄
smfi_setsymlist.html
(2.85 KB)
📄
smfi_settimeout.html
(2.08 KB)
📄
smfi_stop.html
(1.99 KB)
📄
smfi_version.html
(2.53 KB)
📄
xxfi_abort.html
(2.38 KB)
📄
xxfi_body.html
(2.95 KB)
📄
xxfi_close.html
(2.32 KB)
📄
xxfi_connect.html
(3.65 KB)
📄
xxfi_data.html
(2.14 KB)
📄
xxfi_envfrom.html
(2.77 KB)
📄
xxfi_envrcpt.html
(2.75 KB)
📄
xxfi_eoh.html
(1.32 KB)
📄
xxfi_eom.html
(1.58 KB)
📄
xxfi_header.html
(2.72 KB)
📄
xxfi_helo.html
(1.66 KB)
📄
xxfi_negotiate.html
(8.41 KB)
📄
xxfi_unknown.html
(2.12 KB)
Editing: smfi_version.html
<HTML> <HEAD><TITLE>smfi_version()</TITLE></HEAD> <BODY> <!-- $Id: smfi_version.html,v 1.7 2013-11-22 20:51:39 ca Exp $ --> <H1>smfi_version()</H1> <TABLE BORDER="0" CELLSPACING=4 CELLPADDING=4> <!---------- Synopsis -----------> <TR><TH VALIGN="TOP" ALIGN=LEFT WIDTH=100>SYNOPSIS</TH><TD> <PRE> #include <libmilter/mfapi.h> int smfi_version( unsigned int *pmajor, unsigned int *pminor, unsigned int *ppl ); </PRE> Get the (runtime) version of libmilter. </TD></TR> <!----------- Description ----------> <TR><TH VALIGN="TOP" ALIGN=LEFT>DESCRIPTION</TH><TD> <TABLE BORDER="1" CELLSPACING=1 CELLPADDING=4> <TR ALIGN="LEFT" VALIGN=TOP> <TH WIDTH="80">Called When</TH> <TD>smfi_version may be called at any time.</TD> </TR> <TR ALIGN="LEFT" VALIGN=TOP> <TH WIDTH="80">Effects</TH> <TD>None.</TD> </TR> </TABLE> </TD></TR> <!----------- Arguments ----------> <TR><TH VALIGN="TOP" ALIGN=LEFT>ARGUMENTS</TH><TD> <TABLE BORDER="1" CELLSPACING=0> <TR BGCOLOR="#dddddd"><TH>Argument</TH><TH>Description</TH></TR> <TR VALIGN="TOP"><TD>pmajor</TD> <TD>Pointer to an unsigned int variable to store major version number. </TD></TR> <TR VALIGN="TOP"><TD>pminor</TD> <TD>Pointer to an unsigned int variable to store minor version number. </TD></TR> <TR VALIGN="TOP"><TD>ppl</TD> <TD>Pointer to an unsigned int variable to store patch level number. </TD></TR> </TABLE> </TD></TR> <!----------- Return values ----------> <TR> <TH VALIGN="TOP" ALIGN=LEFT>RETURN VALUES</TH> <TD>smfi_version returns MI_SUCCESS.</TD> </TR> </TABLE> Note: the compile time version of libmilter is available in the macro <CODE>SMFI_VERSION</CODE>. To extract the major and minor version as well as the current patch level from this macro, the macros <CODE>SM_LM_VRS_MAJOR(v)</CODE>, <CODE>SM_LM_VRS_MINOR(v)</CODE>, and <CODE>SM_LM_VRS_PLVL(v)</CODE> can be used, respectively. A milter can check the <CODE>SMFI_VERSION</CODE> macro to determine which functions to use (at compile time via C preprocessor statements). Using this macro and the <CODE>smfi_version()</CODE> function, a milter can determine at runtime whether it has been (dynamically) linked against the expected libmilter version. Such a function should only compare the major and minor version, not the patch level, i.e., the libmilter library will be compatible despite different patch levels. <HR SIZE="1"> <FONT SIZE="-1"> Copyright (c) 2006-2008 Proofpoint, Inc. and its suppliers. All rights reserved. <BR> By using this file, you agree to the terms and conditions set forth in the LICENSE. </FONT> </BODY> </HTML>
Upload File
Create Folder