You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/05/02 00:54:26 UTC

[trafficserver] 03/04: TS-4373: Document TSSslServerContextCreate and TSSslContextDestroy.

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 6c0441fe077af3d04b77112f4501d00b1208ddb1
Author: David Calavera <da...@gmail.com>
AuthorDate: Sun May 1 14:16:02 2016 -0700

    TS-4373: Document TSSslServerContextCreate and TSSslContextDestroy.
---
 .../api/functions/TSSslContextDestroy.en.rst       | 34 ++++++++++++++++++
 .../api/functions/TSSslServerContextCreate.en.rst  | 41 ++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/doc/developer-guide/api/functions/TSSslContextDestroy.en.rst b/doc/developer-guide/api/functions/TSSslContextDestroy.en.rst
new file mode 100644
index 0000000..9d367b5
--- /dev/null
+++ b/doc/developer-guide/api/functions/TSSslContextDestroy.en.rst
@@ -0,0 +1,34 @@
+.. Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed
+   with this work for additional information regarding copyright
+   ownership.  The ASF licenses this file to you under the Apache
+   License, Version 2.0 (the "License"); you may not use this file
+   except in compliance with the License.  You may obtain a copy of
+   the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied.  See the License for the specific language governing
+   permissions and limitations under the License.
+
+.. include:: ../../../common.defs
+
+.. default-domain:: c
+
+TSSslContextDestroy
+**********************
+
+Synopsis
+========
+
+`#include <ts/ts.h>`
+
+.. function:: void TSSslContextDestroy(TSSslContext ctx)
+
+Description
+===========
+
+Destroy a SSL context.
diff --git a/doc/developer-guide/api/functions/TSSslServerContextCreate.en.rst b/doc/developer-guide/api/functions/TSSslServerContextCreate.en.rst
new file mode 100644
index 0000000..6da64f8
--- /dev/null
+++ b/doc/developer-guide/api/functions/TSSslServerContextCreate.en.rst
@@ -0,0 +1,41 @@
+.. Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed
+   with this work for additional information regarding copyright
+   ownership.  The ASF licenses this file to you under the Apache
+   License, Version 2.0 (the "License"); you may not use this file
+   except in compliance with the License.  You may obtain a copy of
+   the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied.  See the License for the specific language governing
+   permissions and limitations under the License.
+
+.. include:: ../../../common.defs
+
+.. default-domain:: c
+
+TSSslServerContextCreate
+**********************
+
+Synopsis
+========
+
+`#include <ts/ts.h>`
+
+.. function:: TSSslContext TSSslServerContextCreate(void)
+
+Description
+===========
+
+Create a new server SSL context. It also populates cypher suite settings from records.config.
+
+Type
+====
+
+.. type:: TSSslContext
+
+Corresponds to the SSL_CTX * value in openssl.

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.