e_client: Introduce E_Client_Private 28/299228/2
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 21 Sep 2023 00:15:39 +0000 (09:15 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 22 Sep 2023 05:33:48 +0000 (05:33 +0000)
commite445671a546481de90e63cd10e91a5974ad8411d
tree7ed08a2cf8c3e5c18c60798fd665f934370c9a8e
parent004f20579d2234cfdea9b31a695803d81e4ffc15
e_client: Introduce E_Client_Private

This commit introduces an E_Client_Private within the E_Client.

It's designed to store private data related to E_Client. This approach
prevents us from breaking ABI when adding or removing fields from the
E_Client structure. Instead, we can modify the E_Client_Private
structure as needed.

A pointer to E_Client_Private will be assigned to e_object's data and
accessed through e_object's data using e_object_data_{set,get}. So it's
crucial to ensure that no one overwrites it with different data using
e_object_data_set.

Change-Id: I4dff782d2d661f6eb0007253484640ebc9e3c2c4
src/bin/e_client.c
src/bin/e_client_intern.h [new file with mode: 0644]