/**
* @file bio.h
*
* @brief Perforce's API stubbed out version of openssl/bio.h
*
* Threading:
*
* @date November 18, 2011
* @author Wendy Heffner (wheffner)
*
* Copyright (c) 2011 Perforce Software
* Confidential. All Rights Reserved.
*/
#ifndef HEADER_BIO_H
#define HEADER_BIO_H
# include <stdio.h>
# include <sys/types.h>
////////////////////////////////////////////////////////////////////////////
// DEFINES //
////////////////////////////////////////////////////////////////////////////
# ifndef BIO
# define BIO void
# endif //BIO
#define BIO_C_GET_BUF_MEM_PTR 115
# define BIO_METHOD void
typedef struct buf_mem_st
{
int length;
char *data;
int max;
} BUF_MEM;
#define BIO_get_mem_ptr(b,pp) BIO_ctrl(b,BIO_C_GET_BUF_MEM_PTR,0,(char *)pp)
////////////////////////////////////////////////////////////////////////////
// METHOD STUBS //
////////////////////////////////////////////////////////////////////////////
void BIO_free_all (BIO *a);
BIO * BIO_new_socket (int sock, int close_flag);
BIO * BIO_pop (BIO *b);
BIO * BIO_new_fd(int fd, int close_flag);
BIO * BIO_new_fp(FILE *stream, int close_flag);
BIO * BIO_new(BIO_METHOD *type);
long BIO_ctrl(BIO *bp,int cmd,long larg,void *parg);
int BIO_printf (BIO *bio, const char *format, ...);
BIO_METHOD *BIO_s_mem(void);
#endif // HEADER_BIO_H
# |
Change |
User |
Description |
Committed |
|
#1
|
15902 |
Matt Attaway |
A second renaming that I will not obliterate as a badge of shame |
|
|
//guest/perforce_software/p4/2014_1/sslstub/openssl/bio.h |
#1
|
15901 |
Matt Attaway |
Clean up code to fit modern Workshop naming standards |
|
|
//guest/perforce_software/p4/2014.1/sslstub/openssl/bio.h |
#1
|
12188 |
Matt Attaway |
Move 'main' p4 into a release specific directory in prep for new releases |
|
|
//guest/perforce_software/p4/sslstub/openssl/bio.h |
#1
|
9129 |
Matt Attaway |
Initial commit of the 2014.1 p4/p4api source code |
|
|