07469d2d0d55667942c3d64ebbc9d473eee97d53
tdreszer
  Thu Feb 10 14:56:58 2011 -0800
Moved date routines into common, and made expired restriction dates dimmer in hgTrackUi
diff --git src/inc/common.h src/inc/common.h
index 5044395..66316c9 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1360,16 +1360,20 @@
     };
 #define SET_TO_YES(ebool) { (ebool) = ebYes; }
 #define SET_TO_NO(ebool)  { (ebool) = ebNo; }
 #define IS_YES(ebool)     ((ebool) == ebYes)
 #define IS_NO(ebool)      ((ebool) == ebNo)
 #define IS_KNOWN(ebool)   (IS_YES(ebool) || IS_NO(ebool))
 #define IS_TRUE           IS_YES
 #define IS_FALSE          IS_NO
 
 time_t dateToSeconds(const char *date,const char*format);
 // Convert a string date to time_t
 
 boolean dateIsOld(const char *date,const char*format);
 // Is this string date older than now?
 
+char *dateAddTo(char *date,char *format,int addYears,int addMonths,int addDays);
+/* Add years,months,days to a formatted date and returns the new date as a cloned string
+*  format is a strptime/strftime format: %F = yyyy-mm-dd */
+
 #endif /* COMMON_H */