37 |
static Protocol_T myimap= NULL; |
static Protocol_T myimap= NULL; |
38 |
static Protocol_T mynntp= NULL; |
static Protocol_T mynntp= NULL; |
39 |
static Protocol_T myssh= NULL; |
static Protocol_T myssh= NULL; |
40 |
|
static Protocol_T mydwp= NULL; |
41 |
|
|
42 |
|
|
43 |
/** |
/** |
65 |
free(myimap); myimap= NULL; |
free(myimap); myimap= NULL; |
66 |
free(mynntp); mynntp= NULL; |
free(mynntp); mynntp= NULL; |
67 |
free(myssh); myssh= NULL; |
free(myssh); myssh= NULL; |
68 |
|
free(mydwp); mydwp= NULL; |
69 |
|
|
70 |
} |
} |
71 |
|
|
180 |
return myssh; |
return myssh; |
181 |
|
|
182 |
} |
} |
183 |
|
|
184 |
|
|
185 |
|
void *create_dwp() { |
186 |
|
|
187 |
|
if(mydwp == NULL) { |
188 |
|
static const char *name= "DWP"; |
189 |
|
mydwp= NEW(mydwp); |
190 |
|
mydwp->name= name; |
191 |
|
mydwp->check= check_dwp; |
192 |
|
} |
193 |
|
|
194 |
|
return mydwp; |
195 |
|
|
196 |
|
} |
197 |
|
|