summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSven Hassler <sven_hassler@mentor.com>2015-10-26 09:02:54 +0100
committerLutz Helwing <lutz_helwing@mentor.com>2015-11-05 15:04:17 +0100
commit9e101ff434230a95fb8f4fd33dc48f4970496d1c (patch)
tree4297f2c76242402af8f733d6738ded655f753258 /doc
parent2a987c1e0a8d44e4d024e520127a6c48bad90261 (diff)
downloadDLT-daemon-9e101ff434230a95fb8f4fd33dc48f4970496d1c.tar.gz
Fixed include paths in dlt_user_manual.txt and dlt_cheatsheet.txt
Changed [dlt/dlt.h] to only [dlt.h] Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/dlt_cheatsheet.txt8
-rw-r--r--doc/dlt_user_manual.txt8
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/dlt_cheatsheet.txt b/doc/dlt_cheatsheet.txt
index 2ca1586..736142b 100644
--- a/doc/dlt_cheatsheet.txt
+++ b/doc/dlt_cheatsheet.txt
@@ -55,7 +55,7 @@ Include the DLT Header
To use DLT you have to include the DLT header file in each file you want to use DLT.
----
-#include <dlt/dlt.h>
+#include <dlt.h>
----
Register your application
@@ -91,7 +91,7 @@ Each context is only allowed to be declared once.
You have to provide a unique variable name for your context.
----
-#include <dlt/dlt.h>
+#include <dlt.h>
DLT_DECLARE_CONTEXT(myContext1);
DLT_DECLARE_CONTEXT(myContext2);
@@ -101,7 +101,7 @@ DLT_DECLARE_CONTEXT(myContext3);
If you want to use a context in another C or CPP file, you can import the context by calling
----
-#include <dlt/dlt.h>
+#include <dlt.h>
DLT_IMPORT_CONTEXT(myContext1);
DLT_IMPORT_CONTEXT(myContext2);
@@ -219,7 +219,7 @@ Finally here is a complete example for using DLT:
.dlt_example.c
----
#include <stdio.h>
-#include <dlt/dlt.h>
+#include <dlt.h>
DLT_DECLARE_CONTEXT(myContext1);
DLT_DECLARE_CONTEXT(myContext2);
diff --git a/doc/dlt_user_manual.txt b/doc/dlt_user_manual.txt
index f8938d0..9a69507 100644
--- a/doc/dlt_user_manual.txt
+++ b/doc/dlt_user_manual.txt
@@ -197,7 +197,7 @@ ${DLT_LIBRARIES}
==== Include the dlt header file:
----
-#include <dlt/dlt.h>
+#include <dlt.h>
----
==== Create logging context (place it beneath the define section):
@@ -248,7 +248,7 @@ DLT_UNREGISTER_APP();
.DLT - Hello world
----
#include <stdio.h>
-#include <dlt/dlt.h>
+#include <dlt.h>
DLT_DECLARE_CONTEXT(mycontext);
int main()
{
@@ -283,7 +283,7 @@ The DLT macro interface provides a very easy to use interface. It is very easy t
[options="header"]
|==============================================================================================
| Command | Description
-| #include <dlt/dlt.h> | The first thing to do is to include the standard header file of DLT
+| #include <dlt.h> | The first thing to do is to include the standard header file of DLT
| DLT_DECLARE_CONTEXT(mycontext); | The next thing is to create instances of each used context of an application. This has to be done outside of the source code before using any context.
| DLT_IMPORT_CONTEXT(mycontext); | If a context is used a second time in another software module, the following macro has to be called to get access to the context.
| DLT_REGISTER_APP("LOG","Test Application for Logging"); | In the next step in the initialization of the application the application must be registered in the DLT daemon. The identifier of the application, here "LOG", has a maximum of four characters.
@@ -305,7 +305,7 @@ The DLT functional interface provides a very easy to use interface. The C interf
[options="header"]
|==============================================================================================
| Command | Description
-| #include <dlt/dlt.h> | The first thing to do is to include the standard header file of DLT:
+| #include <dlt.h> | The first thing to do is to include the standard header file of DLT:
| DltContext mycontext; | The next thing is to create an instance of each used context of an application. This has to be done outside of the source code before using any context. The name of the instance can be defined by the user.
| DltContextData mycontextdata; | Additionally, a data buffer used to construct the DLT log messages must be created:
| dlt_register_app("LOG","Test Application for Logging"); | In the next step in the initialization of the application the application must be registered in the DLT daemon. The identifier of the application, here "LOG", has a maximum of four characters.