Changeset 5ebff60 for ipc.h


Ignore:
Timestamp:
2015-02-20T22:50:54Z (6 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
  • ipc.h

    raf359b4 r5ebff60  
    1   /********************************************************************\
     1/********************************************************************\
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
     
    2828
    2929
    30 struct bitlbee_child
    31 {
     30struct bitlbee_child {
    3231        pid_t pid;
    3332        int ipc_fd;
    3433        gint ipc_inpa;
    35        
     34
    3635        char *host;
    3736        char *nick;
    3837        char *realname;
    39        
     38
    4039        char *password;
    41        
     40
    4241        /* For takeovers: */
    4342        struct bitlbee_child *to_child;
     
    4645
    4746
    48 gboolean ipc_master_read( gpointer data, gint source, b_input_condition cond );
    49 gboolean ipc_child_read( gpointer data, gint source, b_input_condition cond );
     47gboolean ipc_master_read(gpointer data, gint source, b_input_condition cond);
     48gboolean ipc_child_read(gpointer data, gint source, b_input_condition cond);
    5049
    51 void ipc_master_free_one( struct bitlbee_child *child );
    52 void ipc_master_free_fd( int fd );
     50void ipc_master_free_one(struct bitlbee_child *child);
     51void ipc_master_free_fd(int fd);
    5352void ipc_master_free_all();
    5453
    5554void ipc_child_disable();
    5655
    57 gboolean ipc_child_identify( irc_t *irc );
     56gboolean ipc_child_identify(irc_t *irc);
    5857
    59 void ipc_to_master( char **cmd );
    60 void ipc_to_master_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 );
    61 void ipc_to_children( char **cmd );
    62 void ipc_to_children_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 );
     58void ipc_to_master(char **cmd);
     59void ipc_to_master_str(char *format, ...) G_GNUC_PRINTF(1, 2);
     60void ipc_to_children(char **cmd);
     61void ipc_to_children_str(char *format, ...) G_GNUC_PRINTF(1, 2);
    6362
    6463/* We need this function in inetd mode, so let's just make it non-static. */
    65 void ipc_master_cmd_rehash( irc_t *data, char **cmd );
     64void ipc_master_cmd_rehash(irc_t *data, char **cmd);
    6665
    6766char *ipc_master_save_state();
    68 int ipc_master_load_state( char *statefile );
     67int ipc_master_load_state(char *statefile);
    6968int ipc_master_listen_socket();
    7069
Note: See TracChangeset for help on using the changeset viewer.