/* $Id$ * Include file for CORBA/ORBit server side of Directory object * Copyright (C) 2003 Jan Kratochvil * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; exactly version 2 of June 1991 is required * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _SERVER_DIRECTORY_H #define _SERVER_DIRECTORY_H 1 #include #include "sandbox.h" #include "captive/client-directory.h" #include "server-Vfs.h" G_BEGIN_DECLS typedef struct { POA_Captive_Directory servant; PortableServer_POA poa; CaptiveDirectoryObject *captive_directory_object; } impl_POA_Captive_Directory; Captive_Directory impl_Captive_Directory__create(PortableServer_POA poa,CORBA_Environment *ev); Captive_Directory impl_Captive_Vfs_directory_new_open (impl_POA_Captive_Vfs *servant,const CORBA_char *pathname,CORBA_Environment *ev); Captive_Directory impl_Captive_Vfs_directory_new_make(impl_POA_Captive_Vfs *servant, const CORBA_char *pathname,const Captive_GnomeVFSFilePermissions perm,CORBA_Environment *ev); G_END_DECLS #endif /* _SERVER_DIRECTORY_H */