cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

ssl.h (1314B)


      1/**
      2 * WinPR: Windows Portable Runtime
      3 * OpenSSL Library Initialization
      4 *
      5 * Copyright 2014 Thincast Technologies GmbH
      6 * Copyright 2014 Norbert Federa <norbert.federa@thincast.com>
      7 *
      8 * Licensed under the Apache License, Version 2.0 (the "License");
      9 * you may not use this file except in compliance with the License.
     10 * You may obtain a copy of the License at
     11 *
     12 *     http://www.apache.org/licenses/LICENSE-2.0
     13 *
     14 * Unless required by applicable law or agreed to in writing, software
     15 * distributed under the License is distributed on an "AS IS" BASIS,
     16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     17 * See the License for the specific language governing permissions and
     18 * limitations under the License.
     19 */
     20
     21#ifndef WINPR_SSL_H
     22#define WINPR_SSL_H
     23
     24#include <winpr/wtypes.h>
     25#include <winpr/winpr.h>
     26
     27#define WINPR_SSL_INIT_DEFAULT 0x00
     28#define WINPR_SSL_INIT_ALREADY_INITIALIZED 0x01
     29#define WINPR_SSL_INIT_ENABLE_LOCKING 0x2
     30#define WINPR_SSL_INIT_ENABLE_FIPS 0x4
     31
     32#define WINPR_SSL_CLEANUP_GLOBAL 0x01
     33#define WINPR_SSL_CLEANUP_THREAD 0x02
     34
     35#ifdef __cplusplus
     36extern "C"
     37{
     38#endif
     39
     40	WINPR_API BOOL winpr_InitializeSSL(DWORD flags);
     41	WINPR_API BOOL winpr_CleanupSSL(DWORD flags);
     42
     43	WINPR_API BOOL winpr_FIPSMode(void);
     44
     45#ifdef __cplusplus
     46}
     47#endif
     48
     49#endif /* WINPR_SSL_H */