Changeset a29e2e492d5b03e2ab7a9aced0d1313f06a650c0 for config.c
- Timestamp:
- 03/16/10 02:48:40 (2 years ago)
- Parents:
- 2e3212ee6039755ad0071edde541e432086c0216
- Children:
- 6235648b3ca2df5a61e411548a29f45b2b3f27df
- git-committer:
- D.J. Capelis <dev@capelis.dj> / 2010-03-16T02:48:40Z-0700
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
config.c
r50d3946 ra29e2e4 2 2 3 3 struct service help; 4 struct service list; 4 5 struct service multiplex; 5 6 struct service ssl; … … 26 27 { 27 28 help.name = "HELP\0"; 28 help.service_type = HELP_TYPE; 29 help.next = &multiplex; 29 help.service_type = HELP_SERVICE; 30 help.next = &list; 31 list.name = "LIST\0"; 32 list.service_type = LIST_SERVICE; 33 list.next = &multiplex; 30 34 multiplex.name = "MULTIPLEX\0"; 31 multiplex.service_type = MULTIPLEX_ TYPE;35 multiplex.service_type = MULTIPLEX_SERVICE; 32 36 multiplex.next = &ssl; 33 37 ssl.name = "SSL\0"; 34 ssl.service_type = SSL_ TYPE;38 ssl.service_type = SSL_SERVICE; 35 39 ssl.next = &auth; 36 40 auth.name = "AUTH\0"; 37 auth.service_type = AUTH_ TYPE;41 auth.service_type = AUTH_SERVICE; 38 42 auth.next = &host; 39 43 host.name = "HOST\0"; 40 host.service_type = HOST_ TYPE;44 host.service_type = HOST_SERVICE; 41 45 host.next = &shell; 42 46 shell.name = "SHELL\0"; 43 shell.service_type = CUSTOM_ TYPE;47 shell.service_type = CUSTOM_SERVICE; 44 48 inet_pton(AF_INET6, "::ffff:127.0.0.1", &(shellsocket.sin6_addr)); 45 49 shellsocket.sin6_family=AF_INET6; … … 49 53 shell.next = &echo; 50 54 echo.name = "ECHO\0"; 51 echo.service_type = CUSTOM_ TYPE;55 echo.service_type = CUSTOM_SERVICE; 52 56 inet_pton(AF_INET6, "::ffff:127.0.0.1", &(shellsocket2.sin6_addr)); 53 57 shellsocket2.sin6_family=AF_INET6; … … 57 61 echo.next = &hello; 58 62 hello.name = "HELLO\0"; 59 hello.service_type = CUSTOM_ TYPE;63 hello.service_type = CUSTOM_SERVICE; 60 64 inet_pton(AF_INET6, "::ffff:127.0.0.1", &(s_hello.sin6_addr)); 61 65 s_hello.sin6_family=AF_INET6; … … 65 69 hello.next = &web; 66 70 rot13.name = "ROT13\0"; 67 rot13.service_type = CUSTOM_ TYPE;71 rot13.service_type = CUSTOM_SERVICE; 68 72 inet_pton(AF_INET6, "::ffff:127.0.0.1", &(s_rot13.sin6_addr)); 69 73 s_rot13.sin6_family=AF_INET6; … … 73 77 rot13.next = &web; 74 78 web.name = "WEB\0"; 75 web.service_type = CUSTOM_ TYPE;79 web.service_type = CUSTOM_SERVICE; 76 80 inet_pton(AF_INET6, "::ffff:127.0.0.1", &(s_web.sin6_addr)); 77 81 s_web.sin6_family=AF_INET6; … … 81 85 web.next = &web2; 82 86 web2.name = "WEB\0"; 83 web2.service_type = CUSTOM_ TYPE;87 web2.service_type = CUSTOM_SERVICE; 84 88 inet_pton(AF_INET6, "::ffff:127.0.0.1", &(s_web2.sin6_addr)); 85 89 s_web2.sin6_family=AF_INET6;
