libpalmroot.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef PSI_PALMOS_LIBPALMROOT_H_
00014 #define PSI_PALMOS_LIBPALMROOT_H_
00015 
00016 // Include elementary types
00017 #include <PalmTypes.h>                  // Basic types
00018 
00019 #include <bsd-string.h> // strlcat, strlcpy
00020 
00021 #ifdef __cplusplus
00022 // Pure C++ routines
00023 
00024 namespace palmos {
00025 
00026 extern void clock_timespec_add_nano(struct timespec * t, nsecs_t adj);
00027 extern void clock_timespec_from_nano(struct timespec * t, nsecs_t desired);
00028 
00029 }
00030 
00031 #endif
00032 
00033 
00034 #endif // PSI_PALMOS_LIBPALMROOT_H_
00035