~ubuntu-branches/ubuntu/lucid/openssl/lucid-security

« back to all changes in this revision

Viewing changes to ms/applink.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
static int   app_fsetmod(FILE *fp,char mod)
40
40
{ return _setmode (_fileno(fp),mod=='b'?_O_BINARY:_O_TEXT); }
41
41
 
42
 
__declspec(dllexport) void **OPENSSL_Applink(void)
 
42
#ifdef __cplusplus
 
43
extern "C" {
 
44
#endif
 
45
 
 
46
__declspec(dllexport)
 
47
void **
 
48
#if defined(__BORLANDC__)
 
49
__stdcall       /* __stdcall appears to be the only way to get the name
 
50
                 * decoration right with Borland C. Otherwise it works
 
51
                 * purely incidentally, as we pass no parameters. */
 
52
#else
 
53
__cdecl
 
54
#endif
 
55
OPENSSL_Applink(void)
43
56
{ static int once=1;
44
57
  static void *OPENSSL_ApplinkTable[APPLINK_MAX+1]={(void *)APPLINK_MAX};
45
58
 
74
87
 
75
88
  return OPENSSL_ApplinkTable;
76
89
}
 
90
 
 
91
#ifdef __cplusplus
 
92
}
 
93
#endif
77
94
#endif