OLD | NEW |
1 /* crypto/o_time.h -*- mode:C; c-file-style: "eay" -*- */ | 1 /* crypto/o_time.h -*- mode:C; c-file-style: "eay" -*- */ |
2 /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 * project 2001. | 3 * project 2001. |
4 */ | 4 */ |
5 /* ==================================================================== | 5 /* ==================================================================== |
6 * Copyright (c) 2001 The OpenSSL Project. All rights reserved. | 6 * Copyright (c) 2001 The OpenSSL Project. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 * Hudson (tjh@cryptsoft.com). | 55 * Hudson (tjh@cryptsoft.com). |
56 * | 56 * |
57 */ | 57 */ |
58 | 58 |
59 #ifndef HEADER_O_TIME_H | 59 #ifndef HEADER_O_TIME_H |
60 #define HEADER_O_TIME_H | 60 #define HEADER_O_TIME_H |
61 | 61 |
62 #include <time.h> | 62 #include <time.h> |
63 | 63 |
64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result); | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result); |
| 65 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); |
65 | 66 |
66 #endif | 67 #endif |
OLD | NEW |