+++ /dev/null
-/*\r
- *validate.h\r
- * Copyright 2000-2002, eSellerate Inc.\r
- * All rights reserved worldwide.\r
- */\r
-\r
-#ifndef _VALIDATE_API_H_\r
-#define _VALIDATE_API_H_\r
-\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-\r
-typedef unsigned char* eSellerate_String;\r
-\r
-typedef short eSellerate_DaysSince2000;\r
-\r
-eSellerate_DaysSince2000 eSellerate_ValidateSerialNumber (\r
- eSellerate_String serialNumber, /* ASCII Pascal string */\r
- eSellerate_String nameBasedKey, /* ASCII Pascal string (nil if unneeded) */\r
- eSellerate_String extraDataKey, /* ASCII Pascal string (nil if unneeded) */\r
- eSellerate_String publisherKey /* ASCII Pascal string (nil if unneeded) */\r
-);\r
-/*\r
- * return codes:\r
- * if valid: date (days since January 1 2000) of expiration or (non-expiring) purchase\r
- * if invalid: 0\r
- */\r
-\r
-eSellerate_DaysSince2000 eWeb_ValidateSerialNumber (\r
- const char *serialNumber, /* "C" string */\r
- const char *nameBasedKey, /* "C" string (nil if unneeded) */\r
- const char *extraDataKey, /* "C" string (nil if unneeded) */\r
- const char *publisherKey /* "C" string (nil if unneeded) */\r
-);\r
-/*\r
- * return codes:\r
- * if valid: date (days since January 1 2000) of expiration or (non-expiring) purchase\r
- * if invalid: 0\r
- */\r
-\r
-\r
-eSellerate_DaysSince2000 eSellerate_Today ( ); /* days from 1/1/2000 to today */\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-\r
-#endif
\ No newline at end of file