Rev 2635 | Rev 2637 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2635 | Rev 2636 | ||
---|---|---|---|
Line 535... | Line 535... | ||
535 | * |
535 | * |
536 | * @param callid Hash of the call to forward. |
536 | * @param callid Hash of the call to forward. |
537 | * @param phoneid Phone handle to use for forwarding. |
537 | * @param phoneid Phone handle to use for forwarding. |
538 | * @param method New method to use for the forwarded call. |
538 | * @param method New method to use for the forwarded call. |
539 | * @param arg1 New value of the first argument for the forwarded call. |
539 | * @param arg1 New value of the first argument for the forwarded call. |
- | 540 | * @param arg2 New value of the second argument for the forwarded call. |
|
540 | * @param mode Flags that specify mode of the forward operation. |
541 | * @param mode Flags that specify mode of the forward operation. |
541 | * |
542 | * |
542 | * @return Return 0 on succes, otherwise return an error code. |
543 | * @return Return 0 on succes, otherwise return an error code. |
543 | * |
544 | * |
544 | * In case the original method is a system method, ARG1 and ARG2 are overwritten |
545 | * In case the original method is a system method, ARG1, ARG2 and ARG3 are |
545 | * in the forwarded message with the new method and the new arg1, respectively. |
546 | * overwritten in the forwarded message with the new method and the new arg1 and |
546 | * Otherwise the METHOD and ARG1 are rewritten with the new method and arg1, |
547 | * arg2, respectively. Otherwise the METHOD, ARG1 and ARG2 are rewritten with |
547 | * respectively. Also note there is a set of immutable methods, for which the |
548 | * the new method, arg1 and arg2, respectively. Also note there is a set of |
548 | * new method and argument is not set and these values are ignored. |
549 | * immutable methods, for which the new method and argument is not set and |
- | 550 | * these values are ignored. |
|
549 | * |
551 | * |
550 | * Warning: When implementing support for changing additional payload |
552 | * Warning: When implementing support for changing additional payload |
551 | * arguments, make sure that ARG3 is not rewritten for certain |
553 | * arguments, make sure that ARG5 is not rewritten for certain |
552 | * system IPC |
554 | * system IPC |
553 | */ |
555 | */ |
554 | unative_t sys_ipc_forward_fast(unative_t callid, unative_t phoneid, |
556 | unative_t sys_ipc_forward_fast(unative_t callid, unative_t phoneid, |
555 | unative_t method, unative_t arg1, unative_t arg2, int mode) |
557 | unative_t method, unative_t arg1, unative_t arg2, int mode) |
556 | { |
558 | { |