automotive-dlt
|
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <dlt_filetransfer.h>
#include <dlt.h>
Go to the source code of this file.
Macros | |
#define | MAXSTRLEN 1024 |
#define | FLTR_APP_DESC "Filetransfer application" |
#define | FLTR_CONTEXT_DESC "Filetransfer context" |
#define | FLTR_APP "FLTR" |
#define | FLTR_CONTEXT "FLTR" |
#define | TIMEOUT 1 |
Functions | |
DLT_DECLARE_CONTEXT (fileContext) | |
Declare some context for the file transfer. It's not a must have to do this, but later you can set a filter on this context in the dlt viewer. More... | |
int | main (int argc, char *argv[]) |
Main program dlt-test-filestransfer starts here. More... | |
Definition in file dlt-example-filetransfer.c.
#define FLTR_APP "FLTR" |
Definition at line 70 of file dlt-example-filetransfer.c.
Referenced by main().
#define FLTR_APP_DESC "Filetransfer application" |
Definition at line 67 of file dlt-example-filetransfer.c.
Referenced by main().
#define FLTR_CONTEXT "FLTR" |
Definition at line 71 of file dlt-example-filetransfer.c.
Referenced by main().
#define FLTR_CONTEXT_DESC "Filetransfer context" |
Definition at line 68 of file dlt-example-filetransfer.c.
Referenced by main().
#define MAXSTRLEN 1024 |
Definition at line 65 of file dlt-example-filetransfer.c.
#define TIMEOUT 1 |
Definition at line 73 of file dlt-example-filetransfer.c.
Referenced by main().
DLT_DECLARE_CONTEXT | ( | fileContext | ) |
Declare some context for the file transfer. It's not a must have to do this, but later you can set a filter on this context in the dlt viewer.
Print usage information of tool.
Definition at line 76 of file dlt-example-filetransfer.c.
References dlt_get_version().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main program dlt-test-filestransfer starts here.
Definition at line 103 of file dlt-example-filetransfer.c.
References DLT_ID_SIZE, DLT_REGISTER_APP, DLT_REGISTER_CONTEXT, dlt_set_id(), DLT_UNREGISTER_APP, DLT_UNREGISTER_CONTEXT, dlt_user_log_file_complete(), dlt_user_log_file_infoAbout(), FLTR_APP, FLTR_APP_DESC, FLTR_CONTEXT, FLTR_CONTEXT_DESC, TIMEOUT, and usage().