summaryrefslogtreecommitdiffstats
path: root/src/occApplet/template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/occApplet/template.c')
-rwxr-xr-xsrc/occApplet/template.c73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/occApplet/template.c b/src/occApplet/template.c
new file mode 100755
index 0000000..749f79d
--- /dev/null
+++ b/src/occApplet/template.c
@@ -0,0 +1,73 @@
+/******************************************************************************
+// @file <filename.c>
+// @brief <shortDesc>
+*/
+/******************************************************************************
+ *
+ * @page ChangeLogs Change Logs
+ * @section <filename.c> <FILENAME.c>
+ * @verbatim
+ *
+ * Flag Def/Fea Userid Date Description
+ * ------- ---------- -------- ---------- ----------------------------------
+ * USERID MM/DD/YY created
+ *
+ * @endverbatim
+ *
+ *///*************************************************************************/
+
+
+//*************************************************************************
+// Includes
+//*************************************************************************
+#include <common_types.h> // imageHdr_t declaration and image header macro
+#include <errl.h> // For error handle
+#include "ssx_io.h" // For printfs
+#include <trac.h> // For traces
+#include <appletId.h> // For applet ID
+
+//*************************************************************************
+// Externs
+//*************************************************************************
+
+//*************************************************************************
+// Macros
+//*************************************************************************
+
+//*************************************************************************
+// Defines/Enums
+//*************************************************************************
+#define <FUNCNM>_ID "<APPLET_ID_STR>\0"
+
+//*************************************************************************
+// Structures
+//*************************************************************************
+
+//*************************************************************************
+// Globals
+//*************************************************************************
+
+//*************************************************************************
+// Function Prototypes
+//*************************************************************************
+
+//*************************************************************************
+// Functions
+//*************************************************************************
+
+//*************************************************************************
+// Entry point function
+//*************************************************************************
+errlHndl_t <funcNm>(void * i_arg)
+{
+ TRAC_INFO("Enter");
+ errlHndl_t l_err = NULL;
+
+ TRAC_INFO("Exit");
+ return l_err;
+}
+
+//*************************************************************************
+// Image Header
+//*************************************************************************
+IMAGE_HEADER (G_<funcNm>,<funcNm>,<FUNCNM>_ID,<APLT_ID>);
OpenPOWER on IntegriCloud