File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,4 +182,34 @@ void oaci_lpcnet_plc_fec_clear(LPCNetPLCState *st);
182182int lpcnet_load_model (LPCNetState * st , const void * data , int len );
183183int oaci_lpcnet_plc_load_model (LPCNetPLCState * st , const void * data , int len );
184184
185+ /* Backwards compatibility: map older API names to oaci_ variants so callers using
186+ the older names keep building. */
187+ #ifndef lpcnet_plc_init
188+ # define lpcnet_plc_init oaci_lpcnet_plc_init
189+ #endif
190+
191+ #ifndef lpcnet_plc_reset
192+ # define lpcnet_plc_reset oaci_lpcnet_plc_reset
193+ #endif
194+
195+ #ifndef lpcnet_plc_update
196+ # define lpcnet_plc_update oaci_lpcnet_plc_update
197+ #endif
198+
199+ #ifndef lpcnet_plc_conceal
200+ # define lpcnet_plc_conceal oaci_lpcnet_plc_conceal
201+ #endif
202+
203+ #ifndef lpcnet_plc_fec_add
204+ # define lpcnet_plc_fec_add oaci_lpcnet_plc_fec_add
205+ #endif
206+
207+ #ifndef lpcnet_plc_fec_clear
208+ # define lpcnet_plc_fec_clear oaci_lpcnet_plc_fec_clear
209+ #endif
210+
211+ #ifndef lpcnet_plc_load_model
212+ # define lpcnet_plc_load_model oaci_lpcnet_plc_load_model
213+ #endif
214+
185215#endif
You can’t perform that action at this time.
0 commit comments