X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nsm%2Flibnfs-raw-nsm.h;h=613cd220ad162a329fc8df8b66eb18d73d08e10b;hb=d663ff20d0e69e8ce026210893398f870b981d97;hp=b68a1bd11832123cdfe35e40f65d1f3cf1beb79b;hpb=c9cc77a538b9062f0b00a26019c6658ca003492e;p=deb_libnfs.git diff --git a/nsm/libnfs-raw-nsm.h b/nsm/libnfs-raw-nsm.h index b68a1bd..613cd22 100644 --- a/nsm/libnfs-raw-nsm.h +++ b/nsm/libnfs-raw-nsm.h @@ -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. @@ -89,27 +118,27 @@ typedef struct NSM1_NOTIFYargs NSM1_NOTIFYargs; #if defined(__STDC__) || defined(__cplusplus) #define NSM1_NULL 0 -extern void * nsm1_null_1(void *, CLIENT *); +extern void * nsm1_null_1(void *, void *); extern void * nsm1_null_1_svc(void *, struct svc_req *); #define NSM1_STAT 1 -extern struct NSM1_STATres * nsm1_stat_1(struct NSM1_STATargs *, CLIENT *); +extern struct NSM1_STATres * nsm1_stat_1(struct NSM1_STATargs *, void *); extern struct NSM1_STATres * nsm1_stat_1_svc(struct NSM1_STATargs *, struct svc_req *); #define NSM1_MON 2 -extern struct NSM1_MONres * nsm1_mon_1(struct NSM1_MONargs *, CLIENT *); +extern struct NSM1_MONres * nsm1_mon_1(struct NSM1_MONargs *, void *); extern struct NSM1_MONres * nsm1_mon_1_svc(struct NSM1_MONargs *, struct svc_req *); #define NSM1_UNMON 3 -extern struct NSM1_UNMONres * nsm1_unmon_1(struct NSM1_UNMONargs *, CLIENT *); +extern struct NSM1_UNMONres * nsm1_unmon_1(struct NSM1_UNMONargs *, void *); extern struct NSM1_UNMONres * nsm1_unmon_1_svc(struct NSM1_UNMONargs *, struct svc_req *); #define NSM1_UNMON_ALL 4 -extern struct NSM1_UNMONALLres * nsm1_unmon_all_1(struct NSM1_UNMONALLargs *, CLIENT *); +extern struct NSM1_UNMONALLres * nsm1_unmon_all_1(struct NSM1_UNMONALLargs *, void *); extern struct NSM1_UNMONALLres * nsm1_unmon_all_1_svc(struct NSM1_UNMONALLargs *, struct svc_req *); #define NSM1_SIMU_CRASH 5 -extern void * nsm1_simu_crash_1(void *, CLIENT *); +extern void * nsm1_simu_crash_1(void *, void *); extern void * nsm1_simu_crash_1_svc(void *, struct svc_req *); #define NSM1_NOTIFY 6 -extern void * nsm1_notify_1(struct NSM1_NOTIFYargs *, CLIENT *); +extern void * nsm1_notify_1(struct NSM1_NOTIFYargs *, void *); extern void * nsm1_notify_1_svc(struct NSM1_NOTIFYargs *, struct svc_req *); -extern int nsm_program_1_freeresult (SVCXPRT *, zdrproc_t, caddr_t); +extern int nsm_program_1_freeresult (void *, zdrproc_t, caddr_t); #else /* K&R C */ #define NSM1_NULL 0