aboutsummaryrefslogtreecommitdiff
path: root/src/include/plibc.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-02 14:39:13 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-02 14:39:13 +0000
commite08a8d18dc0b1a1dbe89485a59791cfe513d22d0 (patch)
tree3163dd75399551b4c4055c485df4da30e2de0812 /src/include/plibc.h
parentd57a55d4d59b2e72ce8ce499a835f78c5a1afa86 (diff)
downloadgnunet-e08a8d18dc0b1a1dbe89485a59791cfe513d22d0.tar.gz
gnunet-e08a8d18dc0b1a1dbe89485a59791cfe513d22d0.zip
LRN: Update plibc and utf8ization
Diffstat (limited to 'src/include/plibc.h')
-rw-r--r--src/include/plibc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/plibc.h b/src/include/plibc.h
index 70cbd9e81..1cb84e6b7 100644
--- a/src/include/plibc.h
+++ b/src/include/plibc.h
@@ -22,7 +22,7 @@
22 * @brief PlibC header 22 * @brief PlibC header
23 * @attention This file is usually not installed under Unix, 23 * @attention This file is usually not installed under Unix,
24 * so ship it with your application 24 * so ship it with your application
25 * @version $Revision$ 25 * @version $Revision: 84 $
26 */ 26 */
27 27
28#ifndef _PLIBC_H_ 28#ifndef _PLIBC_H_
@@ -336,9 +336,13 @@ typedef struct
336#define SetErrnoFromWinError(e) _SetErrnoFromWinError(e, __FILE__, __LINE__) 336#define SetErrnoFromWinError(e) _SetErrnoFromWinError(e, __FILE__, __LINE__)
337 337
338BOOL _plibc_CreateShortcut(const char *pszSrc, const char *pszDest); 338BOOL _plibc_CreateShortcut(const char *pszSrc, const char *pszDest);
339BOOL _plibc_CreateShortcutW(const wchar_t *pwszSrc, const wchar_t *pwszDest);
339BOOL _plibc_DereferenceShortcut(char *pszShortcut); 340BOOL _plibc_DereferenceShortcut(char *pszShortcut);
341BOOL _plibc_DereferenceShortcutW(wchar_t *pwszShortcut);
340char *plibc_ChooseDir(char *pszTitle, unsigned long ulFlags); 342char *plibc_ChooseDir(char *pszTitle, unsigned long ulFlags);
343wchar_t *plibc_ChooseDirW(wchar_t *pwszTitle, unsigned long ulFlags);
341char *plibc_ChooseFile(char *pszTitle, unsigned long ulFlags); 344char *plibc_ChooseFile(char *pszTitle, unsigned long ulFlags);
345wchar_t *plibc_ChooseFileW(wchar_t *pwszTitle, unsigned long ulFlags);
342 346
343long QueryRegistry(HKEY hMainKey, const char *pszKey, const char *pszSubKey, 347long QueryRegistry(HKEY hMainKey, const char *pszKey, const char *pszSubKey,
344 char *pszBuffer, long *pdLength); 348 char *pszBuffer, long *pdLength);
@@ -376,6 +380,7 @@ const char *inet_ntop(int af, const void *src, char *dst, size_t size);
376struct tm *gmtime_r(const time_t *clock, struct tm *result); 380struct tm *gmtime_r(const time_t *clock, struct tm *result);
377 381
378int plibc_init(char *pszOrg, char *pszApp); 382int plibc_init(char *pszOrg, char *pszApp);
383int plibc_init_utf8(char *pszOrg, char *pszApp, int utf8_mode);
379void plibc_shutdown(); 384void plibc_shutdown();
380int plibc_initialized(); 385int plibc_initialized();
381 386