MCPcopy Create free account
hub / github.com/3proxy/3proxy / getrotate

Function getrotate

src/conf.c:67–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65int included =0;
66
67int getrotate(char c){
68 switch(c){
69 case 'c':
70 case 'C':
71 return MINUTELY;
72 case 'h':
73 case 'H':
74 return HOURLY;
75 case 'd':
76 case 'D':
77 return DAILY;
78 case 'w':
79 case 'W':
80 return WEEKLY;
81 case 'y':
82 case 'Y':
83 return ANNUALLY;
84 case 'm':
85 case 'M':
86 return MONTHLY;
87 default:
88 return NEVER;
89 }
90}
91
92
93unsigned char * dologname (unsigned char *buf, unsigned char *name, const unsigned char *ext, ROTATION lt, time_t t) {

Callers 3

h_logFunction · 0.85
h_counterFunction · 0.85
h_aceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected