/usr/lib/petscdir/3.7.7/x86_64-linux-gnu-real-debug/include/petscwebclient.h is in libpetsc3.7.7-dbg 3.7.7+dfsg1-2build5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /*
This is the include file for source code that accesses HTTPS
*/
#if !defined(__PETSCWEBCLIENT_H)
#define __PETSCWEBCLIENT_H
/* complex number I conflicts with SSL include files */
#define PETSC_SKIP_COMPLEX
#include <petscsys.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <string.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
PETSC_EXTERN PetscErrorCode PetscSSLInitializeContext(SSL_CTX **);
PETSC_EXTERN PetscErrorCode PetscSSLDestroyContext(SSL_CTX *);
PETSC_EXTERN PetscErrorCode PetscHTTPSRequest(const char[],const char[],const char[],const char[],const char[],SSL*,char[],size_t);
PETSC_EXTERN PetscErrorCode PetscHTTPSConnect(const char[],int,SSL_CTX *,int *,SSL **);
PETSC_EXTERN PetscErrorCode PetscHTTPRequest(const char[],const char[],const char[],const char[],const char[],int,char[],size_t);
#endif
|