aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/client/stat_client.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-12-03 01:53:32 -0800
committerNeale Ranns <nranns@cisco.com>2018-12-05 14:30:31 +0000
commit318d7940433cf2c864820ce73932be5fbce4c749 (patch)
treefebe2ed1577f55d2698c20cc09e70714941c9d1d /src/vpp-api/client/stat_client.h
parent7e9affb696fcfd8f22cdce0caf46b1e2f25c5799 (diff)
stat-client: pass names as const strings
Change-Id: I8debcd078b733ed19c4b46ea41a2a150d816724c Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vpp-api/client/stat_client.h')
-rw-r--r--src/vpp-api/client/stat_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/client/stat_client.h b/src/vpp-api/client/stat_client.h
index 31fd82b41e2..52aaa244678 100644
--- a/src/vpp-api/client/stat_client.h
+++ b/src/vpp-api/client/stat_client.h
@@ -50,8 +50,8 @@ typedef struct
stat_client_main_t *stat_client_get (void);
void stat_client_free (stat_client_main_t * sm);
-int stat_segment_connect_r (char *socket_name, stat_client_main_t * sm);
-int stat_segment_connect (char *socket_name);
+int stat_segment_connect_r (const char *socket_name, stat_client_main_t * sm);
+int stat_segment_connect (const char *socket_name);
void stat_segment_disconnect_r (stat_client_main_t * sm);
void stat_segment_disconnect (void);
uint8_t **stat_segment_string_vector (uint8_t ** string_vector, char *string);