Fixed newline characters throughout the code
[com/gs-lite.git] / src / lib / gscprts / local_datasource / rts_proto.c
1
2 /* ------------------------------------------------
3  Copyright 2014 AT&T Intellectual Property
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7  
8  http://www.apache.org/licenses/LICENSE-2.0
9  
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  ------------------------------------------- */
16 #include <time.h>
17 #include <stdlib.h>
18 #include <string.h>
19 #include <unistd.h>
20 #include <fcntl.h>
21 #include <sys/time.h>
22 #include <sys/stat.h>
23 #include <sys/types.h>
24 #include <sys/socket.h>
25 #include <netinet/in.h>
26 #include "errno.h"
27
28 #include "gsconfig.h"
29 #include "gshub.h"
30 #include "gstypes.h"
31 #include "lapp.h"
32 #include "fta.h"
33 #include "stdio.h"
34 #include "stdlib.h"
35 #include "packet.h"
36 #include "schemaparser.h"
37 #include "lfta/rts.h"
38
39 // --------------------------------------
40 //              This is a stub entry point to ensure that proper linking.
41 //              any actual rts_proto.c should be generated.
42 // --------------------------------------
43
44     
45 //      Entry for processing this interface
46 gs_retval_t main_dproto(gs_int32_t devicenum, gs_sp_t device, gs_int32_t mapcnt, gs_sp_t map[]) {
47
48         fprintf(stderr,"ERROR, empty main_dproto called.\n");
49         exit(1);
50
51 }
52