Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-signal committed Oct 24, 2023
1 parent b27b44f commit f17b6cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apps/relay/turn_admin_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ int send_turn_session_info(struct turn_session_info *tsi);
void send_https_socket(ioa_socket_handle s);

// Signal change to add rtt metrics
int rtt_foreach (ur_map_key_type, ur_map_value_type);
int rtt_foreach(ur_map_key_type, ur_map_value_type);
void admin_server_rtt_timer_handler(ioa_engine *, void *);

////////////////////////////////////////////
Expand Down
9 changes: 8 additions & 1 deletion src/server/ns_turn_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ extern int TURN_MAX_ALLOCATE_TIMEOUT_STUN_ONLY;
typedef uint8_t turnserver_id;

// Signal change to add rtt metrics
enum _MESSAGE_TO_RELAY_TYPE { RMT_UNKNOWN = 0, RMT_SOCKET, RMT_CB_SOCKET, RMT_MOBILE_SOCKET, RMT_CANCEL_SESSION, RMT_CYCLE_RTT_MAP };
enum _MESSAGE_TO_RELAY_TYPE {
RMT_UNKNOWN = 0,
RMT_SOCKET,
RMT_CB_SOCKET,
RMT_MOBILE_SOCKET,
RMT_CANCEL_SESSION,
RMT_CYCLE_RTT_MAP
};
typedef enum _MESSAGE_TO_RELAY_TYPE MESSAGE_TO_RELAY_TYPE;

///////// ALLOCATION DEFAULT ADDRESS FAMILY TYPES /////////////////////
Expand Down

0 comments on commit f17b6cc

Please sign in to comment.