Record all old-style formatting options, and the full string for the extra display spec, in the control structure; make pv_remote_set only use internal pv state structures so it can be part of the internal pv library where it belongs, and not need to know about main()'s options array.

This commit is contained in:
Andrew Wood
2025-10-26 12:53:51 +00:00
parent 528889888c
commit b1cac9b78d
7 changed files with 103 additions and 72 deletions
+1
View File
@@ -31,6 +31,7 @@ typedef enum {
PV_ACTION_TRANSFER, /* transfer data */
PV_ACTION_STORE_AND_FORWARD, /* store to file, then output from it */
PV_ACTION_WATCHFD, /* watch process file descriptors */
PV_ACTION_REMOTE_CONTROL, /* remotely control another pv */
PV_ACTION_QUERY /* watch the state of another pv */
} pvaction_t;