Changeset 5ebff60 for dcc.h


Ignore:
Timestamp:
2015-02-20T22:50:54Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0b9daac, 3d45471, 7733b8c
Parents:
af359b4
git-author:
Indent <please@…> (19-02-15 05:47:20)
git-committer:
dequis <dx@…> (20-02-15 22:50:54)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dcc.h

    raf359b4 r5ebff60  
    2323*/
    2424
    25 /* 
     25/*
    2626 * DCC SEND
    2727 *
     
    3939 * enabled by default. Note that this also means that packets may be as large
    4040 * as the maximum segment size.
    41  */ 
     41 */
    4242
    4343#ifndef _DCC_H
     
    6161         */
    6262        int fd;
    63        
     63
    6464        /*
    6565         * IDs returned by b_input_add for watch_ing over the above socket.
     
    6767        gint watch_in;   /* readable */
    6868        gint watch_out;  /* writable */
    69        
     69
    7070        /* the progress watcher cancels any file transfer if nothing happens within DCC_MAX_STALL */
    7171        gint progress_timeout;
     
    7676         */
    7777        size_t bytes_sent;
    78        
     78
    7979        /*
    8080         * Handle the wonderful sadly-not-deprecated ACKs.
     
    8282        guint32 acked;
    8383        int acked_len;
    84        
     84
    8585        /* imc's handle */
    8686        file_transfer_t *ft;
     
    8989        struct sockaddr_storage saddr;
    9090
    91         /* set to true if the protocol has finished 
     91        /* set to true if the protocol has finished
    9292         * (i.e. called imcb_file_finished)
    9393         */
     
    9595} dcc_file_transfer_t;
    9696
    97 file_transfer_t *dccs_send_start( struct im_connection *ic, irc_user_t *iu, const char *file_name, size_t file_size );
    98 void dcc_canceled( file_transfer_t *file, char *reason );
    99 gboolean dccs_send_write( file_transfer_t *file, char *data, unsigned int data_size );
    100 file_transfer_t *dcc_request( struct im_connection *ic, char* const* ctcp );
    101 void dcc_finish( file_transfer_t *file );
    102 void dcc_close( file_transfer_t *file );
    103 gboolean dccs_recv_start( file_transfer_t *ft );
     97file_transfer_t *dccs_send_start(struct im_connection *ic, irc_user_t *iu, const char *file_name, size_t file_size);
     98void dcc_canceled(file_transfer_t *file, char *reason);
     99gboolean dccs_send_write(file_transfer_t *file, char *data, unsigned int data_size);
     100file_transfer_t *dcc_request(struct im_connection *ic, char* const* ctcp);
     101void dcc_finish(file_transfer_t *file);
     102void dcc_close(file_transfer_t *file);
     103gboolean dccs_recv_start(file_transfer_t *ft);
    104104
    105105#endif
Note: See TracChangeset for help on using the changeset viewer.