Changeset 4624

Show
Ignore:
Timestamp:
11/11/08 14:11:44 (2 months ago)
Author:
tobias
Message:

some typos

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/charon/control/controller.h

    r4434 r4624  
    4343 * Empty callback function for controller_t functions. 
    4444 * 
    45  * If you want to do a syncrhonous call, but don't need a callback, pass 
     45 * If you want to do a synchronous call, but don't need a callback, pass 
    4646 * this function to the controllers methods. 
    4747 */ 
     
    5858 * 
    5959 * Passing NULL as callback to the managers function calls them asynchronously. 
    60  * If a callback is specified, they are called synchronoulsy. There is a default 
     60 * If a callback is specified, they are called synchronously. There is a default 
    6161 * callback "controller_cb_empty" if you wan't to call a function 
    6262 * synchronously, but don't need a callback. 
     
    7777     * Initiate a CHILD_SA, and if required, an IKE_SA. 
    7878     * 
    79      * The inititate() function is synchronous and thus blocks until the 
     79     * The initiate() function is synchronous and thus blocks until the 
    8080     * IKE_SA is established or failed. Because of this, the initiate() function 
    8181     * contains a thread cancellation point. 
  • trunk/src/charon/sa/ike_sa_manager.h

    r3819 r4624  
    6060     *  
    6161     * @param initiator         TRUE for initiator, FALSE otherwise 
    62      * @returns                 created andchecked out IKE_SA 
     62     * @returns                 created and checked out IKE_SA 
    6363     */ 
    6464    ike_sa_t* (*checkout_new) (ike_sa_manager_t* this, bool initiator); 
     
    6868     *  
    6969     * In some situations, it is necessary that the manager knows the 
    70      * message to use for the checkout. This has the folloing reasons: 
     70     * message to use for the checkout. This has the following reasons: 
    7171     *  
    7272     * 1. If the targeted IKE_SA is already processing a message, we do not 
     
    7474     * 2. If it is an IKE_SA_INIT request, we have to check if it is a  
    7575     *    retransmission. If so, we have to drop the message, we would 
    76      *    create another unneded IKE_SA for each retransmitted packet. 
     76     *    create another unneeded IKE_SA for each retransmitted packet. 
    7777     * 
    7878     * A call to checkout_by_message() returns a (maybe new created) IKE_SA.