diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2008-08-28 06:08:29 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2008-08-28 06:08:29 +0000 |
| commit | e3793f7654e592541cbad1cc508201ebc621e217 (patch) | |
| tree | 45eaace561ffa22220b192fa6cc9bd930b44ffb6 /contrib/sendmail/libmilter/docs/smfi_version.html | |
| parent | 943bebd2c9c6452a47c807dbfc62ad8a6ad3687e (diff) | |
| parent | e8e0e5823adff1aed6bf456d75e58353e6dcf68e (diff) | |
Notes
Diffstat (limited to 'contrib/sendmail/libmilter/docs/smfi_version.html')
| -rw-r--r-- | contrib/sendmail/libmilter/docs/smfi_version.html | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/contrib/sendmail/libmilter/docs/smfi_version.html b/contrib/sendmail/libmilter/docs/smfi_version.html index 3c1fc0520a23..6dd451d152ee 100644 --- a/contrib/sendmail/libmilter/docs/smfi_version.html +++ b/contrib/sendmail/libmilter/docs/smfi_version.html @@ -2,7 +2,7 @@ <HEAD><TITLE>smfi_version()</TITLE></HEAD> <BODY> <!-- -$Id: smfi_version.html,v 1.5 2007/03/22 17:30:57 ca Exp $ +$Id: smfi_version.html,v 1.6 2008/05/02 23:06:26 ca Exp $ --> <H1>smfi_version()</H1> @@ -59,24 +59,30 @@ Get the (runtime) version of libmilter. Note: the compile time version of libmilter is available in the macro <CODE>SMFI_VERSION</CODE>. -A milter can check this 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. 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, 2007 Sendmail, Inc. and its suppliers. +Copyright (c) 2006-2008 Sendmail, Inc. and its suppliers. All rights reserved. <BR> By using this file, you agree to the terms and conditions set |
