Lines Matching refs:call
62 void call_callback(PPTP_CONN *conn, PPTP_CALL *call, enum call_state state)
71 * this call. */
72 lci = pptp_call_closure_get(conn, call); assert(lci != NULL);
73 pptp_call_get_ids(conn, call, &call_id[0], &call_id[1]);
82 log("Closing connection (call state)");
84 lci = pptp_call_closure_get(conn, call);
95 log("Unhandled call callback state [%d].", (int) state);
194 /* New call! */
197 PPTP_CALL * call;
206 /* Allocate memory for local call information structure. */
212 * the call */
213 call = pptp_call_open(conn, call_callback, phonenr);
217 /* associate the local information with the call */
218 pptp_call_closure_put(conn, call, (void *) lci);
221 retval = vector_insert(call_list, s, call); assert(retval);
230 PPTP_CALL * call;
231 retval = vector_search(call_list, i, &call);
234 pptp_call_closure_get(conn, call);
240 pptp_call_close(conn, call);
257 PPTP_CALL *call = vector_get_Nth(call_list, i);
258 struct local_callinfo *lci = pptp_call_closure_get(conn, call);
260 pptp_call_close(conn, call);