--- embedaddon/mpd/src/lcp.h 2013/07/22 08:44:29 1.1.1.1 +++ embedaddon/mpd/src/lcp.h 2021/03/17 00:39:23 1.1.1.2 @@ -85,6 +85,8 @@ char peer_ident[64]; /* Peer's LCP ident string */ uint32_t peer_reject; /* Request codes rejected by peer */ struct fsm fsm; /* Finite state machine */ + + u_char need_reset; /* LCP needs complete reset before ConfReq */ }; typedef struct lcpstate *LcpState; @@ -131,7 +133,7 @@ extern void LcpOpen(Link l); extern void LcpClose(Link l); extern void LcpDown(Link l); - extern int LcpStat(Context ctx, int ac, char *av[], void *arg); + extern int LcpStat(Context ctx, int ac, const char *const av[], const void *arg); extern void LcpAuthResult(Link l, int success); #endif