Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_controller_demo
Fork of CMDB by
Diff: cmdb.h
- Revision:
- 21:d22068e2bbd1
- Parent:
- 20:62318ba945de
- Child:
- 22:5192a468d7fa
--- a/cmdb.h Tue Sep 20 18:49:28 2011 +0000
+++ b/cmdb.h Tue Nov 22 12:41:57 2011 +0000
@@ -499,6 +499,19 @@
*/
int printsection(const char *section);
+ /** printerror prints an inifile Error Section Header and Error Msg Key=Value pair.
+ * like:
+ *
+ * [Error]\r\nmsg={errormsg}\r\n
+ *
+ * Usage: cmdb.printerror("Data Size Incorrect");
+ *
+ * @parm errormsg the error msg to print.
+ *
+ * @returns the printf return value.
+ */
+ int printerror(const char *errormsg);
+
/** printvalue prints an inifile Key/Value Pair
* like:
*
