FreeCalypso > hg > freecalypso-sw
comparison rvinterf/asyncshell/init.c @ 872:5e46679bdb6a
fc-shell skeleton created
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 30 May 2015 06:42:32 +0000 |
parents | |
children | 72d64c172d85 |
comparison
equal
deleted
inserted
replaced
871:a5c8f48003cd | 872:5e46679bdb6a |
---|---|
1 /* | |
2 * This module contains the initialization code for fc-shell. | |
3 */ | |
4 | |
5 #include <sys/types.h> | |
6 #include <stdio.h> | |
7 #include <string.h> | |
8 #include <strings.h> | |
9 #include <stdlib.h> | |
10 #include "pktmux.h" | |
11 #include "localsock.h" | |
12 | |
13 extern int sock; | |
14 | |
15 init() | |
16 { | |
17 static u_char want_rvt_lost[9] = {CLI2RVI_WANT_RVTRACE, | |
18 0xFF, 0xFF, 0xFF, 0xFF, | |
19 0x00, 0x00, 0x00, 0x00}; | |
20 | |
21 localsock_prep_for_length_rx(); | |
22 send_init_command(want_rvt_lost, 9); | |
23 } |