Changeset 5154:7613f2bbf1c3 in roaraudio for include/libroar/error.h
- Timestamp:
- 10/15/11 16:13:41 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/error.h
r5146 r5154 67 67 }; 68 68 69 struct roar_error_state { 70 size_t refc; 71 int libroar_error; 72 int system_errno; 73 }; 74 69 75 struct roar_error_frame * roar_err_errorframe(void); 70 76 … … 92 98 93 99 // test of system's error value is set to 'no error' 100 int roar_err_is_errno_clear(void); 101 102 // old, use roar_err_is_errno_clear(). 94 103 int roar_err_is_errno_clean(void); 95 104 … … 103 112 void roar_err_to_errno(void); 104 113 114 // store a error state (both libroar and system) 115 // returnes the error or ROAR_ERROR_NONE on success so it does not alter gloabl error state. 116 int roar_err_store(struct roar_error_state * state); 117 118 // restore error state to values at time of call to roar_err_store() 119 // returnes the error or ROAR_ERROR_NONE on success so it does not alter gloabl error state. 120 int roar_err_restore(struct roar_error_state * state); 121 105 122 // Return a string descriping the error 106 123 const char * roar_error2str(const int error);
Note: See TracChangeset
for help on using the changeset viewer.