minix/lib/libhgfs/misc.c

29 lines
713 B
C
Raw Normal View History

/* Part of libhgfs - (c) 2009, D.C. van Moolenbroek */
#include "inc.h"
/*===========================================================================*
* hgfs_init *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int hgfs_init()
{
/* Initialize the library. Return OK on success, or a negative error code
* otherwise. If EAGAIN is returned, shared folders are disabled.
*/
time_init();
return rpc_open();
}
/*===========================================================================*
* hgfs_cleanup *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
void hgfs_cleanup()
{
/* Clean up state.
*/
rpc_close();
}