Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beam Positoning Monitor - Software
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Beam Positoning Monitor - Software
Commits
1a75ee9e
Commit
1a75ee9e
authored
10 years ago
by
Lucas Russo
Browse files
Options
Downloads
Patches
Plain Diff
libclient/bpm_client_err.*: add error codes
parent
5af0f30c
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libclient/bpm_client_err.c
+3
-0
3 additions, 0 deletions
libclient/bpm_client_err.c
libclient/bpm_client_err.h
+3
-0
3 additions, 0 deletions
libclient/bpm_client_err.h
with
6 additions
and
0 deletions
libclient/bpm_client_err.c
+
3
−
0
View file @
1a75ee9e
...
...
@@ -14,6 +14,9 @@ static const char *bpm_client_err [BPM_CLIENT_ERR_END] =
{
[
BPM_CLIENT_SUCCESS
]
=
"Success"
,
[
BPM_CLIENT_ERR_ALLOC
]
=
"Could not allocate memory"
,
[
BPM_CLIENT_ERR_SERVER
]
=
"Server could not complete request"
,
[
BPM_CLIENT_ERR_AGAIN
]
=
"Operation did not fully complete, try again"
,
[
BPM_CLIENT_ERR_TIMEOUT
]
=
"Timeout occurred"
,
};
/* Convert enumeration type to string */
...
...
This diff is collapsed.
Click to expand it.
libclient/bpm_client_err.h
+
3
−
0
View file @
1a75ee9e
...
...
@@ -15,6 +15,9 @@ enum _bpm_client_err_e
{
BPM_CLIENT_SUCCESS
=
0
,
/* No error */
BPM_CLIENT_ERR_ALLOC
,
/* Could not allocate memory */
BPM_CLIENT_ERR_SERVER
,
/* Server could not complete request */
BPM_CLIENT_ERR_TIMEOUT
,
/* Timeout occurred */
BPM_CLIENT_ERR_AGAIN
,
/* Operation did not fully complete, try again */
BPM_CLIENT_ERR_END
/* End of enum marker */
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment