smb_upcalls.c revision 29bd28862cfb8abbd3a0f0a4b17e08bbc3652836
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <smbsrv/smb_door_svc.h>
#include <smbsrv/smb_common_door.h>
#include <smbsrv/smb_vops.h>
void
{
}
}
void
{
}
}
{
return (NULL);
if (rsp) {
}
return (token);
}
/*
* This returns the number of snapshots for the dataset
* of the path provided.
*/
{
&arg_size);
if (rsp) {
!= 0) {
count = 0;
}
}
return (count);
}
/*
* This take a path for the root of the dataset and
* gets the counts of snapshots for that dataset and the
* list of @GMT tokens(one for each snapshot) up to the
* count provided.
* Need to call smb_upcall_vss_get_snapshots_free after
* to free up the data
*/
void
{
}
}
void
{
}
/*
* Returns the snapshot name for the @GMT token provided
* for the dataset of the path.
* If the snapshot can not be found, a string with a NULL
* is returned.
*/
void
char *snapname)
{
return;
}
/* a snapname set to '\0' means that there was no match */
&res);
}
}