src/transport_test.h
changeset 196 873796250c60
parent 166 cb8cb023cf06
equal deleted inserted replaced
195:42aedce3e2eb 196:873796250c60
    65  * This clears the send buffer, so this doesn't return the same data twice.
    65  * This clears the send buffer, so this doesn't return the same data twice.
    66  */
    66  */
    67 void transport_test_pull_buf (struct transport_test *tp, char **buf_ptr, size_t *len_ptr);
    67 void transport_test_pull_buf (struct transport_test *tp, char **buf_ptr, size_t *len_ptr);
    68 
    68 
    69 /**
    69 /**
       
    70  * Send async error
       
    71  */
       
    72 void transport_test_async_error (struct transport_test *tp, const error_t *err);
       
    73 
       
    74 /**
    70  * Destroy the transport buffer, releasing any buffers we allocated ourself
    75  * Destroy the transport buffer, releasing any buffers we allocated ourself
    71  */
    76  */
    72 void transport_test_destroy (struct transport_test *tp);
    77 void transport_test_destroy (struct transport_test *tp);
    73 
    78 
    74 #endif /* TRANSPORT_TEST_H */
    79 #endif /* TRANSPORT_TEST_H */