@@ -50,29 +50,29 @@ struct rtpp_weakref_priv {
5050
5151static void rtpp_weakref_dtor (struct rtpp_weakref_priv * );
5252static int rtpp_weakref_reg (struct rtpp_weakref * , struct rtpp_refcnt * , uint64_t );
53- static void * rtpp_wref_get_by_idx (struct rtpp_weakref * , uint64_t );
53+ static void * rtpp_wrt_get_by_idx (struct rtpp_weakref * , uint64_t );
5454static struct rtpp_refcnt * rtpp_weakref_unreg (struct rtpp_weakref * , uint64_t );
5555static struct rtpp_refcnt * rtpp_weakref_move (struct rtpp_weakref * , uint64_t ,
5656 struct rtpp_weakref * );
57- static void rtpp_wref_foreach (struct rtpp_weakref * , rtpp_weakref_foreach_t ,
57+ static void rtpp_wrt_foreach (struct rtpp_weakref * , rtpp_weakref_foreach_t ,
5858 void * );
59- static int rtpp_wref_get_length (struct rtpp_weakref * );
60- static int rtpp_wref_purge (struct rtpp_weakref * );
61- static rtpp_weakref_cb_t rtpp_wref_set_on_first (struct rtpp_weakref * , rtpp_weakref_cb_t ,
59+ static int rtpp_wrt_get_length (struct rtpp_weakref * );
60+ static int rtpp_wrt_purge (struct rtpp_weakref * );
61+ static rtpp_weakref_cb_t rtpp_wrt_set_on_first (struct rtpp_weakref * , rtpp_weakref_cb_t ,
6262 void * );
63- static rtpp_weakref_cb_t rtpp_wref_set_on_last (struct rtpp_weakref * , rtpp_weakref_cb_t ,
63+ static rtpp_weakref_cb_t rtpp_wrt_set_on_last (struct rtpp_weakref * , rtpp_weakref_cb_t ,
6464 void * );
6565
6666DEFINE_SMETHODS (rtpp_weakref ,
6767 .reg = & rtpp_weakref_reg ,
68- .get_by_idx = & rtpp_wref_get_by_idx ,
68+ .get_by_idx = & rtpp_wrt_get_by_idx ,
6969 .unreg = & rtpp_weakref_unreg ,
7070 .move = & rtpp_weakref_move ,
71- .foreach = & rtpp_wref_foreach ,
72- .get_length = & rtpp_wref_get_length ,
73- .purge = & rtpp_wref_purge ,
74- .set_on_first = & rtpp_wref_set_on_first ,
75- .set_on_last = & rtpp_wref_set_on_last ,
71+ .foreach = & rtpp_wrt_foreach ,
72+ .get_length = & rtpp_wrt_get_length ,
73+ .purge = & rtpp_wrt_purge ,
74+ .set_on_first = & rtpp_wrt_set_on_first ,
75+ .set_on_last = & rtpp_wrt_set_on_last ,
7676);
7777
7878struct rtpp_weakref *
@@ -206,7 +206,7 @@ rtpp_weakref_dtor(struct rtpp_weakref_priv *pvt)
206206}
207207
208208static void *
209- rtpp_wref_get_by_idx (struct rtpp_weakref * pub , uint64_t suid )
209+ rtpp_wrt_get_by_idx (struct rtpp_weakref * pub , uint64_t suid )
210210{
211211 struct rtpp_weakref_priv * pvt ;
212212 struct rtpp_refcnt * rco ;
@@ -221,7 +221,7 @@ rtpp_wref_get_by_idx(struct rtpp_weakref *pub, uint64_t suid)
221221}
222222
223223static void
224- rtpp_wref_foreach (struct rtpp_weakref * pub , rtpp_weakref_foreach_t foreach_f ,
224+ rtpp_wrt_foreach (struct rtpp_weakref * pub , rtpp_weakref_foreach_t foreach_f ,
225225 void * foreach_d )
226226{
227227 struct rtpp_weakref_priv * pvt ;
@@ -247,7 +247,7 @@ rtpp_wref_foreach(struct rtpp_weakref *pub, rtpp_weakref_foreach_t foreach_f,
247247}
248248
249249static int
250- rtpp_wref_get_length (struct rtpp_weakref * pub )
250+ rtpp_wrt_get_length (struct rtpp_weakref * pub )
251251{
252252 struct rtpp_weakref_priv * pvt ;
253253
@@ -256,7 +256,7 @@ rtpp_wref_get_length(struct rtpp_weakref *pub)
256256}
257257
258258static int
259- rtpp_wref_purge (struct rtpp_weakref * pub )
259+ rtpp_wrt_purge (struct rtpp_weakref * pub )
260260{
261261 struct rtpp_weakref_priv * pvt ;
262262 int npurged ;
@@ -278,7 +278,7 @@ rtpp_wref_purge(struct rtpp_weakref *pub)
278278}
279279
280280static rtpp_weakref_cb_t
281- rtpp_wref_set_on_first (struct rtpp_weakref * pub , rtpp_weakref_cb_t cb_func ,
281+ rtpp_wrt_set_on_first (struct rtpp_weakref * pub , rtpp_weakref_cb_t cb_func ,
282282 void * cb_func_arg )
283283{
284284 struct rtpp_weakref_priv * pvt ;
@@ -292,7 +292,7 @@ rtpp_wref_set_on_first(struct rtpp_weakref *pub, rtpp_weakref_cb_t cb_func,
292292}
293293
294294static rtpp_weakref_cb_t
295- rtpp_wref_set_on_last (struct rtpp_weakref * pub , rtpp_weakref_cb_t cb_func ,
295+ rtpp_wrt_set_on_last (struct rtpp_weakref * pub , rtpp_weakref_cb_t cb_func ,
296296 void * cb_func_arg )
297297{
298298 struct rtpp_weakref_priv * pvt ;
0 commit comments