+ global req_actions_cb
+ global req_actions_list
+ global req_action_user_data
+ cdef int i
+ cdef char *btn_txt
+ cdef void *cb
+
+ i = 0
+
+ req_action_user_data = user_data
+ req_actions_list = []
+
+ #FIXME: i < 10 max size to req_actions_cb
+ while i < action_count and i < 10:
+ btn_txt = <char *> va_arg(actions, charptr)
+ req_actions_cb[i] = <request.PurpleRequestActionCb> va_arg(actions, glibcb)
+ req_actions_list.append(btn_txt)
+ i = i + 1
+