diff options
author | LRN <lrn1986@gmail.com> | 2014-02-11 00:50:48 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2014-02-11 00:50:48 +0000 |
commit | efa36565cde4e2118999829519347f4008f72192 (patch) | |
tree | 4257ce80c806f3b40b4bb6e380ad6a4ef2588ba7 /src/include/plibc.h | |
parent | 3e6c5eb76deedb76715e68e215622bcdd4eba3bf (diff) | |
download | gnunet-efa36565cde4e2118999829519347f4008f72192.tar.gz gnunet-efa36565cde4e2118999829519347f4008f72192.zip |
Update plibc from svn
Diffstat (limited to 'src/include/plibc.h')
-rw-r--r-- | src/include/plibc.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/include/plibc.h b/src/include/plibc.h index a58735260..2253292ed 100644 --- a/src/include/plibc.h +++ b/src/include/plibc.h | |||
@@ -403,49 +403,6 @@ struct statfs | |||
403 | long f_namelen; /* maximum length of filenames */ | 403 | long f_namelen; /* maximum length of filenames */ |
404 | long f_spare[6]; /* spare for later */ | 404 | long f_spare[6]; /* spare for later */ |
405 | }; | 405 | }; |
406 | |||
407 | /* Taken from the Wine project <http://www.winehq.org> | ||
408 | /wine/include/winternl.h */ | ||
409 | enum SYSTEM_INFORMATION_CLASS | ||
410 | { | ||
411 | SystemBasicInformation = 0, | ||
412 | Unknown1, | ||
413 | SystemPerformanceInformation = 2, | ||
414 | SystemTimeOfDayInformation = 3, /* was SystemTimeInformation */ | ||
415 | Unknown4, | ||
416 | SystemProcessInformation = 5, | ||
417 | Unknown6, | ||
418 | Unknown7, | ||
419 | SystemProcessorPerformanceInformation = 8, | ||
420 | Unknown9, | ||
421 | Unknown10, | ||
422 | SystemDriverInformation, | ||
423 | Unknown12, | ||
424 | Unknown13, | ||
425 | Unknown14, | ||
426 | Unknown15, | ||
427 | SystemHandleList, | ||
428 | Unknown17, | ||
429 | Unknown18, | ||
430 | Unknown19, | ||
431 | Unknown20, | ||
432 | SystemCacheInformation, | ||
433 | Unknown22, | ||
434 | SystemInterruptInformation = 23, | ||
435 | SystemExceptionInformation = 33, | ||
436 | SystemRegistryQuotaInformation = 37, | ||
437 | SystemLookasideInformation = 45 | ||
438 | }; | ||
439 | |||
440 | typedef struct | ||
441 | { | ||
442 | LARGE_INTEGER IdleTime; | ||
443 | LARGE_INTEGER KernelTime; | ||
444 | LARGE_INTEGER UserTime; | ||
445 | LARGE_INTEGER Reserved1[2]; | ||
446 | ULONG Reserved2; | ||
447 | } SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION; | ||
448 | |||
449 | #define sleep(secs) (Sleep(secs * 1000)) | 406 | #define sleep(secs) (Sleep(secs * 1000)) |
450 | 407 | ||
451 | /*********************** statfs *****************************/ | 408 | /*********************** statfs *****************************/ |