Subversion Repositories Tewi

Rev

Rev 208 | Rev 212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 208 Rev 209
Line 1... Line 1...
1
/* $Id: main.c 208 2024-10-02 02:59:59Z nishi $ */
1
/* $Id: main.c 209 2024-10-02 03:01:30Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 508... Line 508...
508
}
508
}
509
 
509
 
510
#endif
510
#endif
511
 
511
 
512
int main(int argc, char** argv) {
512
int main(int argc, char** argv) {
513
	printf("%s\n", get_registry("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Tewi HTTPd", "InstallDir"));
-
 
514
	logfile = stderr;
513
	logfile = stderr;
515
#ifdef SERVICE
514
#ifdef SERVICE
516
	SERVICE_TABLE_ENTRY table[] = {{"Tewi HTTPd", servmain}, {NULL, NULL}};
515
	SERVICE_TABLE_ENTRY table[] = {{"Tewi HTTPd", servmain}, {NULL, NULL}};
517
	StartServiceCtrlDispatcher(table);
516
	StartServiceCtrlDispatcher(table);
518
#else
517
#else