Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 82254bb
  • /
  • kpropd_rpc.c
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:4877e37ed1ab9f871a447b9cf4775f1229981293
directory badge Iframe embedding
swh:1:dir:82254bbc2bc9f5490d8dc0e08faab6fc23aa8646
kpropd_rpc.c
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
/*
 * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#include <memory.h> /* for memset */
#include "iprop.h"

/* Default timeout can be changed using clnt_control() */
static struct timeval TIMEOUT = { 25, 0 };

void *
iprop_null_1(void *argp, CLIENT *clnt)
{
	static char clnt_res;

	memset(&clnt_res, 0, sizeof(clnt_res));
	if (clnt_call (clnt, IPROP_NULL,
		(xdrproc_t) xdr_void, (caddr_t) argp,
		(xdrproc_t) xdr_void, (caddr_t) &clnt_res,
		TIMEOUT) != RPC_SUCCESS) {
		return (NULL);
	}
	return ((void *)&clnt_res);
}

kdb_incr_result_t *
iprop_get_updates_1(kdb_last_t *argp, CLIENT *clnt)
{
	static kdb_incr_result_t clnt_res;

	memset(&clnt_res, 0, sizeof(clnt_res));
	if (clnt_call (clnt, IPROP_GET_UPDATES,
		(xdrproc_t) xdr_kdb_last_t, (caddr_t) argp,
		(xdrproc_t) xdr_kdb_incr_result_t, (caddr_t) &clnt_res,
		TIMEOUT) != RPC_SUCCESS) {
		return (NULL);
	}
	return (&clnt_res);
}

kdb_fullresync_result_t *
iprop_full_resync_1(void *argp, CLIENT *clnt)
{
	static kdb_fullresync_result_t clnt_res;

	memset(&clnt_res, 0, sizeof(clnt_res));
	if (clnt_call (clnt, IPROP_FULL_RESYNC,
		(xdrproc_t) xdr_void, (caddr_t) argp,
		(xdrproc_t) xdr_kdb_fullresync_result_t, (caddr_t) &clnt_res,
		TIMEOUT) != RPC_SUCCESS) {
		return (NULL);
	}
	return (&clnt_res);
}

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top