Changeset 4872:8bbe71569709 in roaraudio


Ignore:
Timestamp:
04/26/11 10:29:31 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/error.h

    r4871 r4872  
    7373int *  roar_errno2(void); 
    7474 
     75// clear RoarAudio's error value 
    7576void   roar_err_clear(void); 
     77 
     78// clear system's error value (errno) 
    7679void   roar_err_clear_errno(void); 
     80 
     81// clear all error values (to be used before calling roar_err_update()) 
    7782void   roar_err_clear_all(void); 
     83 
     84// syncs RoarAudio's and system's error values 
    7885void   roar_err_update(void); 
     86 
     87// test of system's error value is set to 'no error' 
    7988int    roar_err_is_errno_clean(void); 
     89 
     90// set RoarAudio's error value 
    8091void   roar_err_set(const int error); 
     92 
     93// sync RoarAudio's error value with the value from the system 
    8194void   roar_err_from_errno(void); 
     95 
     96// sync systen's error value with the value from RoarAudio 
    8297void   roar_err_to_errno(void); 
    8398 
     99// Return a string descriping the error 
    84100const char * roar_error2str(const int error); 
    85101 
Note: See TracChangeset for help on using the changeset viewer.