X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nlm%2Flibnfs-raw-nlm.c;h=79302615eafc4d31b1f06283cc47bb1ca4fa7976;hb=a0c4ea7d9f4ad7fab543c064c47be7d334a9ceda;hp=08417d4c813f7c292b80fe618891de8e3f736787;hpb=763cd6e3e2bbb6906186e7ed6a86660276b596b7;p=deb_libnfs.git diff --git a/nlm/libnfs-raw-nlm.c b/nlm/libnfs-raw-nlm.c index 08417d4..7930261 100644 --- a/nlm/libnfs-raw-nlm.c +++ b/nlm/libnfs-raw-nlm.c @@ -1,3 +1,32 @@ +/* +Copyright (c) 2014, Ronnie Sahlberg +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. 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. + +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. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of the FreeBSD Project. +*/ + /* * Please do not edit this file. * It was generated using rpcgen. @@ -10,6 +39,7 @@ bool_t zdr_nlm_fh4 (ZDR *zdrs, nlm_fh4 *objp) { register int32_t *buf; + buf = NULL; if (!zdr_bytes (zdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, ~0)) return FALSE; @@ -20,6 +50,7 @@ bool_t zdr_nlm4_oh (ZDR *zdrs, nlm4_oh *objp) { register int32_t *buf; + buf = NULL; if (!zdr_string (zdrs, objp, ~0)) return FALSE; @@ -30,6 +61,7 @@ bool_t zdr_nlm_cookie (ZDR *zdrs, nlm_cookie *objp) { register int32_t *buf; + buf = NULL; if (!zdr_bytes (zdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, ~0)) return FALSE; @@ -40,6 +72,7 @@ bool_t zdr_nlmstat4 (ZDR *zdrs, nlmstat4 *objp) { register int32_t *buf; + buf = NULL; if (!zdr_enum (zdrs, (enum_t *) objp)) return FALSE; @@ -50,6 +83,7 @@ bool_t zdr_nlm4_holder (ZDR *zdrs, nlm4_holder *objp) { register int32_t *buf; + buf = NULL; if (!zdr_bool (zdrs, &objp->exclusive)) return FALSE; @@ -68,6 +102,7 @@ bool_t zdr_nlm4_lock (ZDR *zdrs, nlm4_lock *objp) { register int32_t *buf; + buf = NULL; if (!zdr_string (zdrs, &objp->caller_name, NLM_MAXNAME)) return FALSE; @@ -88,6 +123,7 @@ bool_t zdr_nlm4_share (ZDR *zdrs, nlm4_share *objp) { register int32_t *buf; + buf = NULL; if (!zdr_string (zdrs, &objp->caller_name, NLM_MAXNAME)) return FALSE; @@ -106,6 +142,7 @@ bool_t zdr_nlm4_testres_denied (ZDR *zdrs, nlm4_testres_denied *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm4_holder (zdrs, &objp->holder)) return FALSE; @@ -116,6 +153,7 @@ bool_t zdr_nlm4_testreply (ZDR *zdrs, nlm4_testreply *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlmstat4 (zdrs, &objp->status)) return FALSE; @@ -134,6 +172,7 @@ bool_t zdr_NLM4_TESTres (ZDR *zdrs, NLM4_TESTres *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -146,6 +185,7 @@ bool_t zdr_NLM4_TESTargs (ZDR *zdrs, NLM4_TESTargs *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -160,6 +200,7 @@ bool_t zdr_NLM4_CANCres (ZDR *zdrs, NLM4_CANCres *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -172,6 +213,7 @@ bool_t zdr_NLM4_CANCargs (ZDR *zdrs, NLM4_CANCargs *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -188,6 +230,7 @@ bool_t zdr_NLM4_UNLOCKres (ZDR *zdrs, NLM4_UNLOCKres *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -200,6 +243,7 @@ bool_t zdr_NLM4_UNLOCKargs (ZDR *zdrs, NLM4_UNLOCKargs *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -212,6 +256,7 @@ bool_t zdr_NLM4_LOCKres (ZDR *zdrs, NLM4_LOCKres *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -224,6 +269,7 @@ bool_t zdr_NLM4_LOCKargs (ZDR *zdrs, NLM4_LOCKargs *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -244,6 +290,7 @@ bool_t zdr_NLM4_GRANTEDargs (ZDR *zdrs, NLM4_GRANTEDargs *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE; @@ -258,6 +305,7 @@ bool_t zdr_NLM4_GRANTEDres (ZDR *zdrs, NLM4_GRANTEDres *objp) { register int32_t *buf; + buf = NULL; if (!zdr_nlm_cookie (zdrs, &objp->cookie)) return FALSE;