home *** CD-ROM | disk | FTP | other *** search
- #ifdef __TURBOC__
- #include <tos.h>
- #else
- #ifdef __GNUC__
- #include <osbind.h>
- #else
- #include <tosbind.h>
- #endif
- #endif
- #include <stdio.h>
-
- typedef struct cookie_entry {
- union {
- unsigned long name_long;
- char name_array[4];
- } name;
- unsigned long value;
- } CookieEntry;
-
- int main(void)
- { CookieEntry **CookieJarPtr, *CookieJar;
- long OldStack;
-
- OldStack=Super(0L);
- CookieJarPtr = (CookieEntry**)0x5a0L;
- CookieJar=*CookieJarPtr;
- Super((void *)OldStack);
- if (CookieJar == (CookieEntry *)0)
- printf("Dieses System hat keinen Cookie Jar\n");
- else
- {
- /* Hier k÷nnen wir jetzt die Cookies ausgeben */
- }
- return 0;
- }
-
-
-
-
-
-
-
-