/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Private API to force DC Rediscovery.
*/
#include <stdlib.h>
#include <string.h>
#include "dsgetdc.h"
#include "ads_priv.h"
#include <assert.h>
int
{
int res;
/*
* Call the ADS deamon.
*/
return (RPC_S_NOT_LISTENING);
if (clstat != RPC_SUCCESS)
return (RPC_S_CALL_FAILED);
return (res);
}