1f46a6179Smrg/************************************************************ 2f46a6179Smrg Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc. 3f46a6179Smrg 4f46a6179Smrg Permission to use, copy, modify, and distribute this 5f46a6179Smrg software and its documentation for any purpose and without 6f46a6179Smrg fee is hereby granted, provided that the above copyright 7f46a6179Smrg notice appear in all copies and that both that copyright 8f46a6179Smrg notice and this permission notice appear in supporting 9f46a6179Smrg documentation, and that the name of Silicon Graphics not be 10f46a6179Smrg used in advertising or publicity pertaining to distribution 11f46a6179Smrg of the software without specific prior written permission. 12f46a6179Smrg Silicon Graphics makes no representation about the suitability 13f46a6179Smrg of this software for any purpose. It is provided "as is" 14f46a6179Smrg without any express or implied warranty. 15f46a6179Smrg 16f46a6179Smrg SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 17f46a6179Smrg SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 18f46a6179Smrg AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON 19f46a6179Smrg GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 20f46a6179Smrg DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 21f46a6179Smrg DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 22f46a6179Smrg OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 23f46a6179Smrg THE USE OR PERFORMANCE OF THIS SOFTWARE. 24f46a6179Smrg 25f46a6179Smrg ********************************************************/ 26f46a6179Smrg 27f46a6179Smrg#ifndef _XKBPATH_H_ 28f46a6179Smrg#define _XKBPATH_H_ 1 29f46a6179Smrg 3034345a63Smrgextern Bool XkbInitIncludePath(void); 31f46a6179Smrg 3234345a63Smrgextern void XkbAddDefaultDirectoriesToPath(void); 33f46a6179Smrg 3434345a63Smrgextern Bool XkbAddDirectoryToPath(const char * /* dir */ 3534345a63Smrg ); 36f46a6179Smrg 3734345a63Smrgextern char *XkbDirectoryForInclude(unsigned /* type */ 3834345a63Smrg ); 39f46a6179Smrg 406930ead5Smrgextern FILE *XkbFindFileInPath(const char * /* name */ , 4134345a63Smrg unsigned /* type */ , 4234345a63Smrg char ** /* pathRtrn */ 4334345a63Smrg ); 44f46a6179Smrg 456930ead5Smrgextern void *XkbAddFileToCache(const char * /* name */ , 4634345a63Smrg unsigned /* type */ , 4734345a63Smrg char * /* path */ , 4834345a63Smrg void * /* data */ 4934345a63Smrg ); 50f46a6179Smrg 516930ead5Smrgextern void *XkbFindFileInCache(const char * /* name */ , 5234345a63Smrg unsigned /* type */ , 5334345a63Smrg char ** /* pathRtrn */ 5434345a63Smrg ); 55f46a6179Smrg 5634345a63Smrgextern Bool XkbParseIncludeMap(char ** /* str_inout */ , 5734345a63Smrg char ** /* file_rtrn */ , 5834345a63Smrg char ** /* map_rtrn */ , 5934345a63Smrg char * /* nextop_rtrn */ , 6034345a63Smrg char ** /* extra_data */ 6134345a63Smrg ); 62f46a6179Smrg 63f46a6179Smrg#endif /* _XKBPATH_H_ */ 64