Merge pull request 'Changes to compile openssl-3.1.7 in vx6.9' (#4) from ossl_compilation into master

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/4
This commit is contained in:
2026-07-30 18:36:42 +05:30
committed by neelimap
parent 122392cfc0
commit b4aed7ab58
15 changed files with 698 additions and 58 deletions
+48
View File
@@ -0,0 +1,48 @@
/*
* Copyright (c) 2014, 2016, 2021, 2024 Wind River Systems, Inc.
*
* The right to copy, distribute, modify or otherwise make use
* of this software may be licensed only pursuant to the terms
* of an applicable Wind River license agreement.
*/
#ifndef IPCRYPTO_UTIL_H
#define IPCRYPTO_UTIL_H
#ifdef __cplusplus
extern "C" {
#endif
/* Operation timed out and failed. */
#define IPCRYPTO_ERR_TIMEOUT -1120
/* Operation failed because blocking is illegal. */
#define IPCRYPTO_ERR_WOULDBLOCK -1121
/* Operation was interrupted */
#define IPCRYPTO_ERR_INTERRUPT -1122
typedef void *mutex_t;
/* Block type */
typedef void * Ipcrypto_block;
struct sockaddr;
struct timeval;
struct tms;
int mutex_create(mutex_t *mutex);
int mutex_delete(mutex_t *mutex);
void mutex_lock(mutex_t mutex);
void mutex_unlock(mutex_t mutex);
int ipcrypto_block_create(Ipcrypto_block *block);
int ipcrypto_block_delete(Ipcrypto_block *block);
int ipcrypto_block_wait(Ipcrypto_block block, int milli_seconds);
void ipcrypto_block_post(Ipcrypto_block block);
void ipcrypto_microtime(struct timeval *tv);
clock_t ipcrypto_times(struct tms *buf);
#ifdef __cplusplus
extern "C" {
#endif
#endif /*IPCRYPTO_UTIL_H*/