include/hiker/syspaths.h

Go to the documentation of this file.
00001 /********************************************************************
00002  *
00003  * Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved.
00004  * Copyright 2006, 2007, ACCESS Systems Americas, Inc. All rights reserved.
00005  *
00006  * Version: MPL 1.1/LGPL 2.1
00007  *
00008  * The contents of this file are subject to the Mozilla Public License Version
00009  * 1.1 (the "License"); you may not use this file except in compliance with
00010  * the License. You may obtain a copy of the License at
00011  * http://www.mozilla.org/MPL/
00012  *
00013  * Software distributed under the License is distributed on an "AS IS" basis,
00014  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00015  * for the specific language governing rights and limitations under the
00016  * License.
00017  *
00018  * The Original Code is hikerproject.org code.
00019  *
00020  * The Initial Developer of the Original Code is ACCESS Systems Americas, Inc.
00021  *               Portions created by the Initial Developer are
00022  *      Copyright 2006-2007 the Initial Developer. All Rights Reserved.
00023  *
00024  * Contributor(s):
00025  *
00026  * Alternatively, the contents of this file may be used under the terms of
00027  * the GNU Lesser General Public License Version 2.1 (the "LGPL"), in which
00028  * case the provisions of the LGPL are applicable instead of those above.
00029  * If you wish to allow use of your version of this file only under the terms
00030  * of the LGPL, and not to allow others to use your version of this file under
00031  * the terms of the MPL, indicate your decision by deleting the provisions
00032  * above and replace them with the notice and other provisions required by
00033  * the LGPL. If you do not delete the provisions above, a recipient may use
00034  * your version of this file under the terms of either the MPL or the LGPL. 
00035  * You may obtain a copy of the LGPL at http://www.gnu.org/licenses/lgpl.txt.
00036  *
00037  ********************************************************************/
00045 #ifndef __HIKER_SYSPATHS_H__
00046 #define __HIKER_SYSPATHS_H__
00047 
00053 #define ALP_SYSPATH_NAME        "alp"
00054 #define ALP_EXT_SYSPATH_PREFIX  "/ALP"
00055 
00061 #define ALP_SYSPATH_RO_PREFIX    "/opt/" ALP_SYSPATH_NAME "/"
00062 #define ALP_SYSPATH_BIN          ALP_SYSPATH_RO_PREFIX "bin/"
00063 #define ALP_SYSPATH_ETC          ALP_SYSPATH_RO_PREFIX "etc/"
00064 #define ALP_SYSPATH_LIB          ALP_SYSPATH_RO_PREFIX "lib/"
00065 #define ALP_SYSPATH_SCRIPTS      ALP_SYSPATH_RO_PREFIX "scripts/"
00066 #define ALP_SYSPATH_RO_BUNDLES   ALP_SYSPATH_RO_PREFIX "bundles/"
00067 #define ALP_SYSPATH_RO_DATA      ALP_SYSPATH_RO_PREFIX "data/"
00068 #define ALP_SYSPATH_RO_SHARE      ALP_SYSPATH_RO_PREFIX "share/"
00069 #define ALP_SYSPATH_RO_SHARE_LOCALE      ALP_SYSPATH_RO_SHARE "locale/"
00070 
00071 /* @} */
00072 
00078 #define ALP_SYSPATH_HOME         "/home/"
00079 #define ALP_SYSPATH_MEDIA        "/media/"
00080 
00081 #define ALP_SYSPATH_LOCK         "/var/lock/"
00082 #define ALP_SYSPATH_TRACES       "/var/traces/"
00083 #define ALP_SYSPATH_VAROPT       "/var/opt/"
00084 
00085 #define ALP_SYSPATH_RW_PREFIX    ALP_SYSPATH_VAROPT ALP_SYSPATH_NAME "/"
00086 #define ALP_SYSPATH_RW_DATA      ALP_SYSPATH_RW_PREFIX "data/"
00087 #define ALP_SYSPATH_LIB_DATA     ALP_SYSPATH_RW_DATA   "lib/"
00088 #define ALP_SYSPATH_SYSTEM_CACHE ALP_SYSPATH_RW_DATA   "syscache/"
00089 #define ALP_SYSPATH_BUNDLE_DATA  ALP_SYSPATH_RW_DATA   "bundles/"
00090 #define ALP_SYSPATH_PREFS        ALP_SYSPATH_RW_PREFIX "prefs"
00091                                     /* note this is a file, not a directory!!! */
00092 #define ALP_SYSPATH_BUNDLES      ALP_SYSPATH_RW_PREFIX "bundles/"
00093 
00094 #define ALP_EXT_SYSPATH_HIDDEN_VOL    ALP_EXT_SYSPATH_PREFIX "/HIDDEN.VOL"
00095 #define ALP_EXT_SYSPATH_CARD_XML      ALP_EXT_SYSPATH_PREFIX "/CARD.XML"
00096 #define ALP_EXT_SYSPATH_DATA          ALP_EXT_SYSPATH_PREFIX "/DATA/"
00097 #define ALP_EXT_SYSPATH_BUNDLES               ALP_EXT_SYSPATH_PREFIX "/BUNDLES/"
00098 /* @} */
00099 
00100 /* @} */
00101 
00102 #endif /* __HIKER_SYSPATHS_H__ */

Generated on Wed Jul 30 07:06:39 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.