]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: stream-int: export stream_int_update_*
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 09:01:42 +0000 (11:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 16:07:16 +0000 (18:07 +0200)
Not only these functions were not static, but we'll also want to export
them.

include/proto/stream_interface.h
src/stream_interface.c

index 84c309091a882dd6f7fd8cb80e8f385f4ea536c5..d1d75baabb56b3bf1513a195f264ad6bc1fc72d8 100644 (file)
@@ -49,6 +49,8 @@ extern struct data_cb si_idle_conn_cb;
 struct appctx *stream_int_register_handler(struct stream_interface *si, struct applet *app);
 void si_applet_done(struct stream_interface *si);
 void stream_int_update(struct stream_interface *si);
+void stream_int_update_conn(struct stream_interface *si);
+void stream_int_update_applet(struct stream_interface *si);
 
 /* returns the channel which receives data from this stream interface (input channel) */
 static inline struct channel *si_ic(struct stream_interface *si)
index 51099b824e6dda0571f614f14534b36d27cbfcac..2de7740ab0e3acb7ee1b3a46730f9b5492411df9 100644 (file)
@@ -43,12 +43,10 @@ static void stream_int_shutr(struct stream_interface *si);
 static void stream_int_shutw(struct stream_interface *si);
 static void stream_int_chk_rcv(struct stream_interface *si);
 static void stream_int_chk_snd(struct stream_interface *si);
-static void stream_int_update_conn(struct stream_interface *si);
 static void stream_int_shutr_conn(struct stream_interface *si);
 static void stream_int_shutw_conn(struct stream_interface *si);
 static void stream_int_chk_rcv_conn(struct stream_interface *si);
 static void stream_int_chk_snd_conn(struct stream_interface *si);
-static void stream_int_update_applet(struct stream_interface *si);
 static void stream_int_shutr_applet(struct stream_interface *si);
 static void stream_int_shutw_applet(struct stream_interface *si);
 static void stream_int_chk_rcv_applet(struct stream_interface *si);