Re: [Hamlib-developer] Hamlib 4.6.5 release
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: George B. <geo...@gm...> - 2025-09-06 16:33:33
|
The compatibility code (include files and macros) are in the current git master. The moves won't happen until after 4.7 is branched. On 9/6/25 12:23 PM, David Balharrie wrote: > Thanks for the explanation. > > I know Mike created functions like (void *) rig_get_function_ptr(rig_model_t rig_model, enum rig_function_e rig_function); which removed the need to access the structure directly. I use this to determine if the radio model supports a feature. > > I think other than that I use the API to call functions, but we will see... > > Is it too early to try the code? > > 73 de David M0DGB/G8FKH > > -----Original Message----- > From: George Baltz <geo...@gm...> > Sent: 06 September 2025 15:47 > To: ham...@li... > Subject: Re: [Hamlib-developer] Hamlib 4.6.5 release > > Having done a lot of the prep work for the changes, let me give some insight. > > Hamlib 5.0 is a new major revision - recompiling/linking will be necessary. > > The internal storage arrangement of Hamlib gets a complete makeover - some tables and structures get moved out of the main rig_struct into separate buffers, with RIG *rig holding pointers. This gives a lot more freedom to add data to them without breaking other things. > > This means apps that reference things like port names or rig status directly in the rig structure will need to be changed. The data structures will be in new include files; these files and the macros to get structure addresses will be included but optional in 4.7. > > If an app only calls the Hamlib API functions, no code changes may be necessary. There may be data type changes to be made, but they will hopefully be taken care of by the include files. > > None of the details are set in stone; things might change as development progresses. Suggestions and comments always welcome. > > 73 n3gb > > On 9/6/25 3:10 AM, David Balharrie wrote: >> Is it possible to give an overview of the planned changes in the API for V5.0? >> >> 73 de David M0DGB/G8FKH >> > > _______________________________________________ > Hamlib-developer mailing list > Ham...@li... > https://lists.sourceforge.net/lists/listinfo/hamlib-developer |