Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
f543c01f
Commit
f543c01f
authored
Sep 04, 2019
by
Claes Sjofors
Committed by
Claes Sjöfors
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdh, some functinon args change from char* to const char*
parent
23616463
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
src/lib/rt/src/rt_gdh.c
src/lib/rt/src/rt_gdh.c
+10
-10
src/lib/rt/src/rt_gdh.h
src/lib/rt/src/rt_gdh.h
+8
-8
No files found.
src/lib/rt/src/rt_gdh.c
View file @
f543c01f
...
@@ -2503,7 +2503,7 @@ pwr_tStatus gdh_RenameObject(
...
@@ -2503,7 +2503,7 @@ pwr_tStatus gdh_RenameObject(
*/
*/
pwr_tStatus
gdh_SetObjectInfo
(
pwr_tStatus
gdh_SetObjectInfo
(
char
*
name
,
/**< The name of the object or object attribute.*/
c
onst
c
har
*
name
,
/**< The name of the object or object attribute.*/
void
*
bufp
,
/**< Pointer to the data. */
void
*
bufp
,
/**< Pointer to the data. */
unsigned
int
bufsize
/**< The size in bytes of the data buffer. */
unsigned
int
bufsize
/**< The size in bytes of the data buffer. */
)
)
...
@@ -2616,7 +2616,7 @@ pwr_tStatus gdh_SetObjectInfo(
...
@@ -2616,7 +2616,7 @@ pwr_tStatus gdh_SetObjectInfo(
}
}
if
(
gdh_log_cb
&&
ODD
(
sts
))
if
(
gdh_log_cb
&&
ODD
(
sts
))
gdh_log_cb
(
name
,
bufp
,
bufsize
);
gdh_log_cb
(
(
char
*
)
name
,
bufp
,
bufsize
);
if
(
ccpLocked
)
{
if
(
ccpLocked
)
{
gdb_Lock
;
gdb_Lock
;
...
@@ -5411,7 +5411,7 @@ void gdh_GetStrDL(char* sp, /**< Direct link to string attribute */
...
@@ -5411,7 +5411,7 @@ void gdh_GetStrDL(char* sp, /**< Direct link to string attribute */
* lck_Create(&sts, lck_eLock_Str).
* lck_Create(&sts, lck_eLock_Str).
*/
*/
void
gdh_SetStrDL
(
char
*
sp
,
/**< Direct link to string attribute */
void
gdh_SetStrDL
(
char
*
sp
,
/**< Direct link to string attribute */
char
*
str
,
/**< String value to set */
c
onst
c
har
*
str
,
/**< String value to set */
int
size
/**< Size of string */
int
size
/**< Size of string */
)
)
{
{
...
@@ -5429,7 +5429,7 @@ void gdh_SetStrDL(char* sp, /**< Direct link to string attribute */
...
@@ -5429,7 +5429,7 @@ void gdh_SetStrDL(char* sp, /**< Direct link to string attribute */
*
*
* @return pwr_tStatus
* @return pwr_tStatus
*/
*/
pwr_tStatus
gdh_GetObjectInfoTime
(
char
*
name
,
/**< Attribute name */
pwr_tStatus
gdh_GetObjectInfoTime
(
c
onst
c
har
*
name
,
/**< Attribute name */
pwr_tTime
*
time
/**< Receives the requested time */
pwr_tTime
*
time
/**< Receives the requested time */
)
)
{
{
...
@@ -5450,7 +5450,7 @@ pwr_tStatus gdh_GetObjectInfoTime(char* name, /**< Attribute name */
...
@@ -5450,7 +5450,7 @@ pwr_tStatus gdh_GetObjectInfoTime(char* name, /**< Attribute name */
*
*
* @return pwr_tStatus
* @return pwr_tStatus
*/
*/
pwr_tStatus
gdh_SetObjectInfoTime
(
char
*
name
,
/**< Attribute name */
pwr_tStatus
gdh_SetObjectInfoTime
(
c
onst
c
har
*
name
,
/**< Attribute name */
pwr_tTime
*
time
/**< Time to set */
pwr_tTime
*
time
/**< Time to set */
)
)
{
{
...
@@ -5471,7 +5471,7 @@ pwr_tStatus gdh_SetObjectInfoTime(char* name, /**< Attribute name */
...
@@ -5471,7 +5471,7 @@ pwr_tStatus gdh_SetObjectInfoTime(char* name, /**< Attribute name */
*
*
* @return pwr_tStatus
* @return pwr_tStatus
*/
*/
pwr_tStatus
gdh_GetObjectInfoDeltaTime
(
char
*
name
,
/**< Attribute name */
pwr_tStatus
gdh_GetObjectInfoDeltaTime
(
c
onst
c
har
*
name
,
/**< Attribute name */
pwr_tDeltaTime
*
time
/**< Receives the requested time */
pwr_tDeltaTime
*
time
/**< Receives the requested time */
)
)
{
{
...
@@ -5492,7 +5492,7 @@ pwr_tStatus gdh_GetObjectInfoDeltaTime(char* name, /**< Attribute name */
...
@@ -5492,7 +5492,7 @@ pwr_tStatus gdh_GetObjectInfoDeltaTime(char* name, /**< Attribute name */
*
*
* @return pwr_tStatus
* @return pwr_tStatus
*/
*/
pwr_tStatus
gdh_SetObjectInfoDeltaTime
(
char
*
name
,
/**< Attribute name */
pwr_tStatus
gdh_SetObjectInfoDeltaTime
(
c
onst
c
har
*
name
,
/**< Attribute name */
pwr_tDeltaTime
*
time
/**< Time to set */
pwr_tDeltaTime
*
time
/**< Time to set */
)
)
{
{
...
@@ -5513,7 +5513,7 @@ pwr_tStatus gdh_SetObjectInfoDeltaTime(char* name, /**< Attribute name */
...
@@ -5513,7 +5513,7 @@ pwr_tStatus gdh_SetObjectInfoDeltaTime(char* name, /**< Attribute name */
*
*
* @return pwr_tStatus
* @return pwr_tStatus
*/
*/
pwr_tStatus
gdh_GetObjectInfoStr
(
char
*
name
,
/**< Attribute name */
pwr_tStatus
gdh_GetObjectInfoStr
(
c
onst
c
har
*
name
,
/**< Attribute name */
char
*
str
,
/**< Receives the requested string */
char
*
str
,
/**< Receives the requested string */
int
size
/**< String size */
int
size
/**< String size */
)
)
...
@@ -5535,8 +5535,8 @@ pwr_tStatus gdh_GetObjectInfoStr(char* name, /**< Attribute name */
...
@@ -5535,8 +5535,8 @@ pwr_tStatus gdh_GetObjectInfoStr(char* name, /**< Attribute name */
*
*
* @return pwr_tStatus
* @return pwr_tStatus
*/
*/
pwr_tStatus
gdh_SetObjectInfoStr
(
char
*
name
,
/**< Attribute name */
pwr_tStatus
gdh_SetObjectInfoStr
(
c
onst
c
har
*
name
,
/**< Attribute name */
char
*
str
,
/**< String to set */
c
onst
c
har
*
str
,
/**< String to set */
int
size
/**< String size */
int
size
/**< String size */
)
)
{
{
...
...
src/lib/rt/src/rt_gdh.h
View file @
f543c01f
...
@@ -342,7 +342,7 @@ pwr_tStatus gdh_SetAlarmBlockLevel(
...
@@ -342,7 +342,7 @@ pwr_tStatus gdh_SetAlarmBlockLevel(
pwr_tStatus
gdh_SetAlarmLevel
(
pwr_tObjid
object
,
pwr_tUInt32
alarmLevel
);
pwr_tStatus
gdh_SetAlarmLevel
(
pwr_tObjid
object
,
pwr_tUInt32
alarmLevel
);
pwr_tStatus
gdh_SetObjectInfo
(
pwr_tStatus
gdh_SetObjectInfo
(
char
*
attributeName
,
void
*
buffer
,
unsigned
int
sizeOfBuffer
);
c
onst
c
har
*
attributeName
,
void
*
buffer
,
unsigned
int
sizeOfBuffer
);
pwr_tStatus
gdh_SetObjectInfoAttrref
(
pwr_tStatus
gdh_SetObjectInfoAttrref
(
pwr_sAttrRef
*
attributeReference
,
void
*
buffer
,
unsigned
int
sizeOfBuffer
);
pwr_sAttrRef
*
attributeReference
,
void
*
buffer
,
unsigned
int
sizeOfBuffer
);
...
@@ -444,13 +444,13 @@ void gdh_SetTimeDL(pwr_tTime* atp, pwr_tTime* time);
...
@@ -444,13 +444,13 @@ void gdh_SetTimeDL(pwr_tTime* atp, pwr_tTime* time);
void
gdh_GetDeltaTimeDL
(
pwr_tDeltaTime
*
dtp
,
pwr_tDeltaTime
*
time
);
void
gdh_GetDeltaTimeDL
(
pwr_tDeltaTime
*
dtp
,
pwr_tDeltaTime
*
time
);
void
gdh_SetDeltaTimeDL
(
pwr_tDeltaTime
*
dtp
,
pwr_tDeltaTime
*
time
);
void
gdh_SetDeltaTimeDL
(
pwr_tDeltaTime
*
dtp
,
pwr_tDeltaTime
*
time
);
void
gdh_GetStrDL
(
char
*
sp
,
char
*
str
,
int
size
);
void
gdh_GetStrDL
(
char
*
sp
,
char
*
str
,
int
size
);
void
gdh_SetStrDL
(
char
*
sp
,
char
*
str
,
int
size
);
void
gdh_SetStrDL
(
char
*
sp
,
c
onst
c
har
*
str
,
int
size
);
pwr_tStatus
gdh_GetObjectInfoTime
(
char
*
name
,
pwr_tTime
*
time
);
pwr_tStatus
gdh_GetObjectInfoTime
(
c
onst
c
har
*
name
,
pwr_tTime
*
time
);
pwr_tStatus
gdh_SetObjectInfoTime
(
char
*
name
,
pwr_tTime
*
time
);
pwr_tStatus
gdh_SetObjectInfoTime
(
c
onst
c
har
*
name
,
pwr_tTime
*
time
);
pwr_tStatus
gdh_GetObjectInfoDeltaTime
(
char
*
name
,
pwr_tDeltaTime
*
time
);
pwr_tStatus
gdh_GetObjectInfoDeltaTime
(
c
onst
c
har
*
name
,
pwr_tDeltaTime
*
time
);
pwr_tStatus
gdh_SetObjectInfoDeltaTime
(
char
*
name
,
pwr_tDeltaTime
*
time
);
pwr_tStatus
gdh_SetObjectInfoDeltaTime
(
c
onst
c
har
*
name
,
pwr_tDeltaTime
*
time
);
pwr_tStatus
gdh_GetObjectInfoStr
(
char
*
name
,
char
*
str
,
int
size
);
pwr_tStatus
gdh_GetObjectInfoStr
(
c
onst
c
har
*
name
,
char
*
str
,
int
size
);
pwr_tStatus
gdh_SetObjectInfoStr
(
c
har
*
name
,
char
*
str
,
int
size
);
pwr_tStatus
gdh_SetObjectInfoStr
(
c
onst
char
*
name
,
const
char
*
str
,
int
size
);
/** @} */
/** @} */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment