Merging r37048, r37051, r37052, r37055 from the-real-msvc branch
[reactos.git] / reactos / base / applications / network / net / main.c
1
2 /*
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS net command
5 * FILE:
6 * PURPOSE:
7 *
8 * PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
9 */
10
11 #include "net.h"
12
13
14
15 int main(int argc, char **argv)
16 {
17 if (argc<2)
18 {
19 help();
20 return 1;
21 }
22
23 if (stricmp(argv[1],"ACCOUNTS")==0)
24 {
25 return unimplement();
26 }
27 if (stricmp(argv[1],"COMPUTER")==0)
28 {
29 return unimplement();
30 }
31 if (stricmp(argv[1],"CONFIG")==0)
32 {
33 return unimplement();
34 }
35 if (stricmp(argv[1],"CONTINUE")==0)
36 {
37 return unimplement();
38 }
39
40 if (stricmp(argv[1],"FILE")==0)
41 {
42 return unimplement();
43 }
44 if (stricmp(argv[1],"GROUP")==0)
45 {
46 return unimplement();
47 }
48 if (stricmp(argv[1],"HELP")==0)
49 {
50 return cmdHelp(argc,&argv[1]);
51 }
52 if (stricmp(argv[1],"HELPMSG")==0)
53 {
54 return unimplement();
55 }
56 if (stricmp(argv[1],"LOCALGROUP")==0)
57 {
58 return unimplement();
59 }
60 if (stricmp(argv[1],"NAME")==0)
61 {
62 return unimplement();
63 }
64 if (stricmp(argv[1],"PRINT")==0)
65 {
66 return unimplement();
67 }
68 if (stricmp(argv[1],"SEND")==0)
69 {
70 return unimplement();
71 }
72 if (stricmp(argv[1],"SESSION")==0)
73 {
74 return unimplement();
75 }
76 if (stricmp(argv[1],"SHARE")==0)
77 {
78 return unimplement();
79 }
80
81 if (stricmp(argv[1],"START")==0)
82 {
83 return cmdStart(argc, &argv[1]);
84 }
85 if (stricmp(argv[1],"STATISTICS")==0)
86 {
87 return unimplement();
88 }
89 if (stricmp(argv[1],"STOP")==0)
90 {
91 return cmdStop(argc, &argv[1]);
92 }
93 if (stricmp(argv[1],"TIME")==0)
94 {
95 return unimplement();
96 }
97 if (stricmp(argv[1],"USE")==0)
98 {
99 return unimplement();
100 }
101 if (stricmp(argv[1],"USER")==0)
102 {
103 return unimplement();
104 }
105 if (stricmp(argv[1],"VIEW")==0)
106 {
107 return unimplement();
108 }
109
110 help();
111 return 1;
112 }
113
114
115 int unimplement()
116 {
117 printf("This command is not implement yet\n");
118 return 1;
119 }
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138