summaryrefslogtreecommitdiff
path: root/sal/osl/unx/file_url.h
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2002-11-29 09:38:29 +0000
committerTino Rachui <tra@openoffice.org>2002-11-29 09:38:29 +0000
commit84c4489cb7da4a9a600d102267f589b4a0419b4c (patch)
tree9c964009dd184dccd303cd951e10128d303a6051 /sal/osl/unx/file_url.h
parent3b6638d2ab31446f9d809627900407f2796729b9 (diff)
#104563#moved parts of file.c into separate files
Diffstat (limited to 'sal/osl/unx/file_url.h')
-rw-r--r--sal/osl/unx/file_url.h101
1 files changed, 101 insertions, 0 deletions
diff --git a/sal/osl/unx/file_url.h b/sal/osl/unx/file_url.h
new file mode 100644
index 000000000000..96834b5269e2
--- /dev/null
+++ b/sal/osl/unx/file_url.h
@@ -0,0 +1,101 @@
+/*************************************************************************
+ *
+ * $RCSfile: file_url.h,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: tra $ $Date: 2002-11-29 10:38:12 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+ /***************************************************
+ * Internal header file, declares all functions
+ * that are not part of the offical API and are
+ * not defined in the osl header files
+ **************************************************/
+
+ #ifndef _FILE_URL_H_
+ #define _FILE_URL_H_
+
+ #ifndef _FILE_H_
+ #include <osl/file.h>
+ #endif
+
+ #ifdef __cplusplus
+ extern "C"
+ {
+ #endif
+
+ /**************************************************
+ * _osl_getSystemPathFromFileURL
+ *************************************************/
+
+ #define FURL_ALLOW_RELATIVE sal_True
+ #define FURL_DENY_RELATIVE sal_False
+
+ oslFileError osl_getSystemPathFromFileURL_Ex(rtl_uString *ustrFileURL, rtl_uString **pustrSystemPath, sal_Bool bAllowRelative);
+
+ /**************************************************
+ * FileURLToPath
+ *************************************************/
+
+ oslFileError FileURLToPath(char * buffer, size_t bufLen, rtl_uString* ustrFileURL);
+
+
+ #ifdef __cplusplus
+ }
+ #endif
+
+
+ #endif /* #define _FILE_URL_H_ */