X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Flib%2Fgscprts%2Flocal_datasource%2Frts_proto.c;h=7466c15070a279c533758edc47f05eef034f8108;hb=HEAD;hp=567e6759dc445b946fa3a77d9f195de8ab1e268f;hpb=07495effe193ca3f73c3bf0ce417068f9ac9dcdd;p=com%2Fgs-lite.git diff --git a/src/lib/gscprts/local_datasource/rts_proto.c b/src/lib/gscprts/local_datasource/rts_proto.c index 567e675..7466c15 100644 --- a/src/lib/gscprts/local_datasource/rts_proto.c +++ b/src/lib/gscprts/local_datasource/rts_proto.c @@ -1,52 +1,52 @@ - -/* ------------------------------------------------ - Copyright 2014 AT&T Intellectual Property - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ------------------------------------------- */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "errno.h" - -#include "gsconfig.h" -#include "gshub.h" -#include "gstypes.h" -#include "lapp.h" -#include "fta.h" -#include "stdio.h" -#include "stdlib.h" -#include "packet.h" -#include "schemaparser.h" -#include "lfta/rts.h" - -// -------------------------------------- -// This is a stub entry point to ensure that proper linking. -// any actual rts_proto.c should be generated. -// -------------------------------------- - - -// Entry for processing this interface -gs_retval_t main_dproto(gs_int32_t devicenum, gs_sp_t device, gs_int32_t mapcnt, gs_sp_t map[]) { - - fprintf(stderr,"ERROR, empty main_dproto called.\n"); - exit(1); - -} - + +/* ------------------------------------------------ + Copyright 2014 AT&T Intellectual Property + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ------------------------------------------- */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "errno.h" + +#include "gsconfig.h" +#include "gshub.h" +#include "gstypes.h" +#include "lapp.h" +#include "fta.h" +#include "stdio.h" +#include "stdlib.h" +#include "packet.h" +#include "schemaparser.h" +#include "lfta/rts.h" + +// -------------------------------------- +// This is a stub entry point to ensure that proper linking. +// any actual rts_proto.c should be generated. +// -------------------------------------- + + +// Entry for processing this interface +gs_retval_t main_dproto(gs_int32_t devicenum, gs_sp_t device, gs_int32_t mapcnt, gs_sp_t map[]) { + + fprintf(stderr,"ERROR, empty main_dproto called.\n"); + exit(1); + +} +