diff options
author | Lassi Marttala <lassi.lm.marttala@partner.bmw.de> | 2012-05-16 10:10:12 +0200 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2012-06-13 23:50:08 +0200 |
commit | f8f80a07afd45d60c2975bfd7e4b859fb8c10a96 (patch) | |
tree | 832f4103d0c8c1662c58ec9645fe20f510ace49c /include | |
parent | 9141005cf22f379059c27aa4a82111a13e760883 (diff) | |
download | DLT-daemon-f8f80a07afd45d60c2975bfd7e4b859fb8c10a96.tar.gz |
[GDLT-67] dlt-system v2.0, check full commit message for rebase details
[GDLT-67] Prepare build system.
[GDLT-67] Config parsing, structure for thread handling
[GDLT-67] Finalize configuration reading.
[GDLT-67] Reimplementation of syslog, logfile, logprocess, shell.
[GDLT-67] First complete version of the new dlt-system.
[GDLT-67] Fixed header comments. authors, file names.
[GDLT-67] Final touches.
[GDLT-67] Fixed a problem with thread creation in optimized release binary.
[GDLT-67] New configuration file.
[GDLT-67] Added dlt debug output
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_filetransfer.h | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/include/dlt/dlt_filetransfer.h b/include/dlt/dlt_filetransfer.h index 077e3f0..44436e7 100644 --- a/include/dlt/dlt_filetransfer.h +++ b/include/dlt/dlt_filetransfer.h @@ -82,16 +82,28 @@ extern int dlt_user_log_file_packagesCount(DltContext *fileContext, const char * extern int dlt_user_log_file_infoAbout(DltContext *fileContext, const char *filename); -//!Transfer the head of the file as a dlt logs. -/**The head of the file must be logged to dlt because the head contains inforamtion about the file serial number, - * the file name, the file size, package number the file have and the buffer size. - * All these informations are needed from the plugin of the dlt viewer. - * See the Mainpages.c for more informations. - * @param fileContext Specific context to log the file to dlt - * @param filename Absolute file path - * @return Returns 0 if everything was okey. If there was a failure value < 0 will be returned. - */ -extern int dlt_user_log_file_header(DltContext *fileContext, const char *filename); + //!Transfer the head of the file as a dlt logs. + /**The head of the file must be logged to dlt because the head contains inforamtion about the file serial number, + * the file name, the file size, package number the file have and the buffer size. + * All these informations are needed from the plugin of the dlt viewer. + * See the Mainpages.c for more informations. + * @param fileContext Specific context to log the file to dlt + * @param filename Absolute file path + * @param alias Alias for the file. An alternative name to show in the receiving end + * @return Returns 0 if everything was okey. If there was a failure value < 0 will be returned. + */ + extern int dlt_user_log_file_header_alias(DltContext *fileContext, const char *filename, const char *alias); + + //!Transfer the head of the file as a dlt logs. + /**The head of the file must be logged to dlt because the head contains inforamtion about the file serial number, + * the file name, the file size, package number the file have and the buffer size. + * All these informations are needed from the plugin of the dlt viewer. + * See the Mainpages.c for more informations. + * @param fileContext Specific context to log the file to dlt + * @param filename Absolute file path + * @return Returns 0 if everything was okey. If there was a failure value < 0 will be returned. + */ + extern int dlt_user_log_file_header(DltContext *fileContext, const char *filename); //!Transfer the content data of a file. |