blob: 064f27ad65229178c4f60e718084d21c66f28712 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright (C) ST-Ericsson SA 2011
* License terms: 3-clause BSD license
-->
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform" >
<output method="text"/>
<strip-space elements="*"/>
<param name="target" />
<template match="/commandspec">
/* $Copyright$ */
/* NOTE: This is an automatically generated file. DO NOT EDIT! */
#ifndef _AUDIT_H
#define _AUDIT_H
#include "t_command_protocol.h"
#include "command_ids.h"
/**
* @addtogroup ldr_LCM
* Error codes for internal loader commands.
* @{
*/
<apply-templates select="AuthenticationList" />
<apply-templates select="PermissionList" />
typedef struct CommandPermissionList_s {
GroupId_e Group;
CommandId_e Command;
int CommmandPermissionLength;
CommandPermission_e *CommmandPermmision_p;
int ComandAuthenticationLength;
CommandAuthentication_e *CommandAuthentication_p;
int Depandancy;
boolean factory;
boolean rd;
boolean product;
boolean service;
uint8 *DataParam_p;
} CommandPermissionList_t;
CommandPermissionList_t *GetAuditData(CommandData_t *CmdData_p);
ErrorCode_e CommandAudit(CommandData_t *CmdData_p);
#endif /* _AUDIT_H */
</template>
<template match="AuthenticationList">
TYPEDEF_ENUM {
<apply-templates select="value" />} ENUM8(CommandAuthentication_e);
</template>
<template match="PermissionList">
TYPEDEF_ENUM {
<apply-templates select="value" />} ENUM8(CommandPermission_e);
</template>
<template match="value">
<text> </text><value-of select="@name" /> = <value-of select="@number" />, /**< <value-of select="text()" /> */
</template>
<template match="value[last()]">
<text> </text><value-of select="@name" /> = <value-of select="@number" /> /**< <value-of select="text()" /> */
</template>
</stylesheet>
|