mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-11-27 19:49:38 +00:00
20 lines
396 B
C
20 lines
396 B
C
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <gsos.h>
|
|
|
|
#define MountURL 0x8080
|
|
|
|
int main(int argc, char **argv) {
|
|
DAccessRecGS controlRec = {5};
|
|
|
|
if (argc < 3)
|
|
return;
|
|
|
|
controlRec.devNum = strtoul(argv[1], NULL, 0);
|
|
controlRec.code = MountURL;
|
|
controlRec.list = argv[2];
|
|
controlRec.requestCount = strlen(argv[2]) + 1;
|
|
|
|
DControl(&controlRec);
|
|
}
|