You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog.tex
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
The following list contains changes to the community Power API specification version 2.1
2
+
\begin{itemize}
3
+
\item{PWR_ObjGetSizeOfName - New function added that allows the user to get the size of buffer required to successfully call PWR_ObjGetName for a given object.}
4
+
5
+
\end{itemize}
6
+
7
+
1
8
The following list contains changes to version 2.0 of the specification.
2
9
\begin{itemize}
3
10
\item{PWR_StatusCreate - Added a context input parameter and clarified that statuses are cleared when used as an input to a function, therefore they should be checked prior to reuse, and caution should be taken when sharing statuses between threads.}
%int PWR_ObjGetName( PWR_Obj object, char* dest, size_t len );
125
125
\begin{prototype}{ObjGetName}
126
-
\longdescription{The \texttt{PWR_ObjGetName} function copies the name of the specified object into the user provided buffer. See page \pageref{func:CntxtGetObjByName} to get the object based on the unique name using \texttt{PWR_CntxtGetObjByName}.}
126
+
\longdescription{The \texttt{PWR_ObjGetName} function copies the name of the specified object into the user provided buffer. See page \pageref{func:CntxtGetObjByName} to get the object based on the unique name using \texttt{PWR_CntxtGetObjByName}.}
127
127
\returntype{int}
128
128
\parameter{PWR_Obj object} {\pInput} {The object that the user wishes to determine the name of.}
129
129
\parameter{char* dest} {\pInput} {The address of the user provided buffer.}
%int PWR_ObjGetSizeOfName( PWR_Obj object, size_t len );
137
+
\begin{prototype}{ObjGetSizeOfName}
138
+
\longdescription{The \texttt{PWR_ObjGetSizeOfName} returns the length of an object's name. The len parameter will contain the length of the name of the specified object including any string terminators upon return. See page \pageref{func:CntxtGetObjByName} to get the object based on the unique name using \texttt{PWR_CntxtGetObjByName}.}
139
+
\returntype{int}
140
+
\parameter{PWR_Obj object} {\pInput} {The object that the user wishes to determine the name of.}
141
+
\parameter{size_t* len} {\pInputOutput} {The length of the user provided buffer.}
142
+
\returnval{PWR_RET_SUCCESS} {Upon SUCCESS, the len parameter will contain the size of buffer required to successfully call \texttt{PWR_ObjGetName}, including terminating null byte.}
0 commit comments