X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Ftime.h;h=f9b3f4daac3e5e9578c95a6124e50f4042e3c38b;hb=97d134124cb7f43e34a976e0d6a79622c67cb455;hp=0684bec16bf187a7e3b65b2f61488955fdc0806c;hpb=209b1b9a98f8d090ac69802f5147ebe3e1c84624;p=libucw.git diff --git a/ucw/time.h b/ucw/time.h index 0684bec1..f9b3f4da 100644 --- a/ucw/time.h +++ b/ucw/time.h @@ -24,6 +24,16 @@ timestamp_t get_timestamp(void); /** Get current time as a millisecond timestamp. **/ +/* time-conf.c */ + +/** + * A user type for parsing of time intervals in configuration files. + * It is specified as fractional seconds and internally converted to + * a <>. When conversion of + * a non-zero value yields zero, an error is raised. + **/ +extern struct cf_user_type timestamp_type; + /*** * === Timers *