Commit Diff
Diff:
c6e37ffde911f0a5e1a09ff309d347497c7a1d2e
2534e4d5e993e0f9f72955e001f2ecd5753ddf23
Commit:
2534e4d5e993e0f9f72955e001f2ecd5753ddf23
Tree:
6e5869898b11c0bc90674f5158c825541fbff89d
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri May 27 18:05:01 2022 UTC
Message:
garbage collect even more IMSG types

these are unused after the fs/ui merge.
commit - c6e37ffde911f0a5e1a09ff309d347497c7a1d2e
commit + 2534e4d5e993e0f9f72955e001f2ecd5753ddf23
blob - 775dd96a91ec69593dfec0a7034df2229a7cc64e
blob + 1c7a101b1280b8e8775b23e98b543b0df4b4cb88
--- include/telescope.h
+++ include/telescope.h
@@ -44,7 +44,7 @@ struct imsgev {
#define IMSG_DATA_SIZE(imsg) ((imsg).hdr.len - IMSG_HEADER_SIZE)
enum imsg_type {
- /* ui <-> client/fs */
+ /* ui <-> net */
IMSG_GET, /* struct get_req, peerid is the tab id */
IMSG_ERR,
IMSG_CHECK_CERT,
@@ -56,28 +56,8 @@ enum imsg_type {
IMSG_BUF,
IMSG_EOF,
IMSG_QUIT,
-
- /* ui <-> fs */
- IMSG_INIT,
- IMSG_TOFU,
- IMSG_BOOKMARK_PAGE,
- IMSG_BOOKMARK_OK,
- IMSG_SAVE_CERT,
- IMSG_SAVE_CERT_OK,
- IMSG_UPDATE_CERT,
- IMSG_UPDATE_CERT_OK,
- IMSG_FILE_OPEN,
- IMSG_FILE_OPENED,
-
- IMSG_SESSION_START,
- IMSG_SESSION_TAB,
- IMSG_SESSION_TAB_HIST,
- IMSG_SESSION_END,
-
- IMSG_HIST_ITEM, /* struct histitem */
- IMSG_HIST_END, /* empty */
-
+ /* ui <-> ctl */
IMSG_CTL_OPEN_URL,
};
Omar Polo