diff options
author | Dimitri Staessens <[email protected]> | 2023-11-27 14:43:09 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-11-29 09:57:29 +0100 |
commit | c1d679506180bc23241fe14818c0a2dbbcbe3cef (patch) | |
tree | af8cd0304b7fc812270a37fd751c503e43331b0a /src/tools/irm/irm_name_reg.c | |
parent | 7d7228fa0f9b5593fead5cfcb10bfc5bfaad4d08 (diff) | |
download | ouroboros-c1d679506180bc23241fe14818c0a2dbbcbe3cef.tar.gz ouroboros-c1d679506180bc23241fe14818c0a2dbbcbe3cef.zip |
lib: Rename ipcp_info to ipcp_list_info
The ipcp_info struct / message contains information only used for
listing IPCPs, and I will reuse the ipcp_info name for general IPCP
information common to all IPCPs such as name and type.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/tools/irm/irm_name_reg.c')
-rw-r--r-- | src/tools/irm/irm_name_reg.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tools/irm/irm_name_reg.c b/src/tools/irm/irm_name_reg.c index d023ae24..65bec5b0 100644 --- a/src/tools/irm/irm_name_reg.c +++ b/src/tools/irm/irm_name_reg.c @@ -64,17 +64,17 @@ static void usage(void) int do_reg_name(int argc, char ** argv) { - char * name = NULL; - char * layers[MAX_LAYERS]; - size_t layers_len = 0; - char * ipcp[MAX_IPCPS]; - size_t ipcp_len = 0; - struct ipcp_info * ipcps; - ssize_t ipcps_len; - struct name_info * names; - ssize_t names_len; - bool name_create = true; - ssize_t i; + char * name = NULL; + char * layers[MAX_LAYERS]; + size_t layers_len = 0; + char * ipcp[MAX_IPCPS]; + size_t ipcp_len = 0; + struct ipcp_list_info * ipcps; + ssize_t ipcps_len; + struct name_info * names; + ssize_t names_len; + bool name_create = true; + ssize_t i; name = *(argv++); --argc; |