From 2efc8b3b21fa3b6c55a67396bea176d9bb58a7e4 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 31 Jan 2018 15:25:49 +0100 Subject: [PATCH] include snippets from main doc Signed-off-by: Nikos Mavrogiannopoulos --- en-US/C-Language.adoc | 10 +++--- en-US/C-Libc.adoc | 14 ++++---- en-US/Features-HSM.adoc | 10 +++--- en-US/Features-TLS.adoc | 64 ++++++++++++++++----------------- en-US/Go.adoc | 4 +-- en-US/Java-Language.adoc | 6 ++-- en-US/Java-LowLevel.adoc | 2 +- en-US/Java-SecurityManager.adoc | 8 ++--- en-US/Shell.adoc | 2 +- en-US/Tasks-Serialization.adoc | 28 +++++++-------- 10 files changed, 74 insertions(+), 74 deletions(-) diff --git a/en-US/C-Language.adoc b/en-US/C-Language.adoc index 943ed2e..bbaff4a 100644 --- a/en-US/C-Language.adoc +++ b/en-US/C-Language.adoc @@ -56,7 +56,7 @@ The cast silences a compiler warning; [subs="quotes"] ---- -$ include "snippets/C-Pointers-remaining.xml" +include::snippets/C-Pointers-remaining.adoc[] ---- @@ -86,7 +86,7 @@ see <>. [subs="quotes"] ---- -$ include "snippets/C-Arithmetic-add.xml" +include::snippets/C-Arithmetic-add.adoc[] ---- @@ -112,7 +112,7 @@ additions have to be checked in this way. ==== ---- -$ include "snippets/C-Arithmetic-add_unsigned.xml" +include::snippets/C-Arithmetic-add_unsigned.adoc[] ---- @@ -129,7 +129,7 @@ see <>. [subs="quotes"] ---- -$ include "snippets/C-Arithmetic-mult.xml" +include::snippets/C-Arithmetic-mult.adoc[] ---- @@ -189,7 +189,7 @@ after the `*`, and not before it. ==== ---- -$ include "snippets/C-Globals-String_Array.xml" +include::snippets/C-Globals-String_Array.adoc[] ---- diff --git a/en-US/C-Libc.adoc b/en-US/C-Libc.adoc index 271f9b2..bc6b726 100644 --- a/en-US/C-Libc.adoc +++ b/en-US/C-Libc.adoc @@ -126,7 +126,7 @@ size is allocated on the heap, consider use [subs="quotes"] ---- -$ include "snippets/C-String-Functions-snprintf.xml" +include::snippets/C-String-Functions-snprintf.adoc[] ---- @@ -156,7 +156,7 @@ invariant. After the loop, the result string is in the [subs="quotes"] ---- -$ include "snippets/C-String-Functions-snprintf-incremental.xml" +include::snippets/C-String-Functions-snprintf-incremental.adoc[] ---- @@ -191,7 +191,7 @@ function (see <>). [subs="quotes"] ---- -$ include "snippets/C-String-Functions-format.xml" +include::snippets/C-String-Functions-format.adoc[] ---- @@ -206,7 +206,7 @@ ensuring NUL termination is: [subs="quotes"] ---- -$ include "snippets/C-String-Functions-strncpy.xml" +include::snippets/C-String-Functions-strncpy.adoc[] ---- @@ -215,7 +215,7 @@ function for this purpose: [subs="quotes"] ---- -$ include "snippets/C-String-Functions-strncat-as-strncpy.xml" +include::snippets/C-String-Functions-strncat-as-strncpy.adoc[] ---- @@ -238,7 +238,7 @@ approach similar to <>). [subs="quotes"] ---- -$ include "snippets/Features-TLS-Client-GNUTLS-Credentials.xml" +include::snippets/Features-TLS-Client-GNUTLS-Credentials.adoc[] ---- @@ -474,7 +474,7 @@ object should be freed: [subs="quotes"] ---- -$ include "snippets/Features-TLS-GNUTLS-Credentials-Close.xml" +include::snippets/Features-TLS-GNUTLS-Credentials-Close.adoc[] ---- @@ -495,7 +495,7 @@ This is shown in <>. [subs="quotes"] ---- -$ include "snippets/Features-TLS-Client-GNUTLS-Connect.xml" +include::snippets/Features-TLS-Client-GNUTLS-Connect.adoc[] ---- @@ -515,7 +515,7 @@ can be omitted if the functionality is not needed. [subs="quotes"] ---- -$ include "snippets/Features-TLS-Client-GNUTLS-Verify.xml" +include::snippets/Features-TLS-Client-GNUTLS-Verify.adoc[] ---- @@ -530,7 +530,7 @@ receiving data, as in <>. [subs="quotes"] ---- -$ include "snippets/Features-TLS-GNUTLS-Use.xml" +include::snippets/Features-TLS-GNUTLS-Use.adoc[] ---- @@ -547,7 +547,7 @@ Finally, the session object can be deallocated using [subs="quotes"] ---- -$ include "snippets/Features-TLS-GNUTLS-Disconnect.xml" +include::snippets/Features-TLS-GNUTLS-Disconnect.adoc[] ---- @@ -561,7 +561,7 @@ classes: [subs="quotes"] ---- -$ include "snippets/Features-TLS-Client-OpenJDK-Import.xml" +include::snippets/Features-TLS-Client-OpenJDK-Import.adoc[] ---- @@ -593,7 +593,7 @@ be supported as a fall-back option. This is shown in <