File: petscwebclient.h.html

package info (click to toggle)
petsc 3.7.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,864 kB
  • ctags: 618,438
  • sloc: ansic: 515,133; python: 29,793; makefile: 20,458; fortran: 18,998; cpp: 6,515; f90: 3,914; sh: 1,012; xml: 621; objc: 445; csh: 240; java: 13
file content (45 lines) | stat: -rw-r--r-- 3,535 bytes parent folder | download
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<center><a href="petscwebclient.h">Actual source code: petscwebclient.h</a></center><br>

<html>
<head> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/include/petscwebclient.h.html" />
<title></title>
<meta name="generator" content="c2html 0.9.4">
<meta name="date" content="2017-01-01T16:36:56+00:00">
</head>

<body bgcolor="#FFFFFF">
   <div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
   <div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 include/petscwebclient.h.html "><small>Report Typos and Errors</small></a></div>
<pre width="80"><a name="line1">  1: </a><font color="#B22222">/*</font>
<a name="line2">  2: </a><font color="#B22222">  This is the include file for source code that accesses HTTPS</font>
<a name="line3">  3: </a><font color="#B22222">*/</font>

<a name="line7">  7: </a><font color="#B22222">/*  complex number I conflicts with SSL include files */</font>
<a name="line8">  8: </a><strong><font color="#228B22">#define PETSC_SKIP_COMPLEX</font></strong>
<a name="line9">  9: </a><font color="#A020F0">#include &lt;petscsys.h&gt;</font>

<a name="line11"> 11: </a><font color="#A020F0">#include &lt;errno.h&gt;</font>
<a name="line12"> 12: </a><font color="#A020F0">#include &lt;sys/types.h&gt;</font>
<a name="line13"> 13: </a><font color="#A020F0">#include &lt;sys/socket.h&gt;</font>
<a name="line14"> 14: </a><font color="#A020F0">#include &lt;netinet/in.h&gt;</font>
<a name="line15"> 15: </a><font color="#A020F0">#include &lt;netinet/tcp.h&gt;</font>
<a name="line16"> 16: </a><font color="#A020F0">#include &lt;netdb.h&gt;</font>
<a name="line17"> 17: </a><font color="#A020F0">#include &lt;fcntl.h&gt;</font>
<a name="line18"> 18: </a><font color="#A020F0">#include &lt;signal.h&gt;</font>
<a name="line19"> 19: </a><font color="#A020F0">#include &lt;unistd.h&gt;</font>
<a name="line20"> 20: </a><font color="#A020F0">#include &lt;string.h&gt;</font>

<a name="line22"> 22: </a><font color="#A020F0">#include &lt;openssl/ssl.h&gt;</font>
<a name="line23"> 23: </a><font color="#A020F0">#include &lt;openssl/err.h&gt;</font>

<a name="line25"> 25: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</a> PetscSSLInitializeContext(SSL_CTX **)</font></strong>;
<a name="line26"> 26: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</a> PetscSSLDestroyContext(SSL_CTX *)</font></strong>;
<a name="line27"> 27: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</a> PetscHTTPSRequest(const char[],const char[],const char[],const char[],const char[],SSL*,char[],size_t)</font></strong>;
<a name="line28"> 28: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</a> PetscHTTPSConnect(const char[],int,SSL_CTX *,int *,SSL **)</font></strong>;

<a name="line30"> 30: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</a> PetscHTTPRequest(const char[],const char[],const char[],const char[],const char[],int,char[],size_t)</font></strong>;
<a name="line31"> 31: </a><font color="#A020F0">#endif</font>
</pre>
</body>

</html>