diff options
Diffstat (limited to 'weshd.x')
-rw-r--r-- | weshd.x | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -249,6 +249,7 @@ struct wespticdat_t { struct wespret_with_id_t { wespret_t ret; wespid_t id; + string name<>; }; struct wespret_with_datetime_t { @@ -298,10 +299,10 @@ struct wespid_with_tic_id_t { int tic_id; }; -struct wespret_with_tic_t { - wespret_t ret; - wespticcfg_t cfg; - wespticdat_t data; +struct wespid_with_tic_id_and_time_t { + wespid_t id; + int tic_id; + wespdatetime_t dt; }; struct wespid_with_tic_t { @@ -310,6 +311,17 @@ struct wespid_with_tic_t { wespticcfg_t cfg; }; +struct wespret_with_tic_t { + wespret_t ret; + wespticcfg_t cfg; + wespticdat_t data; +}; + +struct wespret_with_ticdata_t { + wespret_t ret; + wespticdat_t data; +}; + /* Voici la définition du programme en lui-même. */ program WESHD_PROG { @@ -348,7 +360,9 @@ program WESHD_PROG { /* Gérer les compteurs branchés via TÉLÉINFO. */ wespret_with_tic_t get_tic(wespid_with_tic_id_t id) = 23; - wespret_t set_tic(wespid_with_tic_t id) = 24; + wespret_with_ticdata_t + get_tic_values(wespid_with_tic_id_and_time_t args) = 24; + wespret_t set_tic(wespid_with_tic_t id) = 25; } = 1; } = 0x20001234; |