~stefan.goetz-deactivatedaccount/hipl/hidb-db

« back to all changes in this revision

Viewing changes to lib/core/state.h

  • Committer: David Martin
  • Date: 2011-10-17 14:23:19 UTC
  • Revision ID: david.martin.mailbox@googlemail.com-20111017142319-7kd9k6bhxkjbul67
Rename hip_hastate to hip_ha_state.

Changed are both the enum and the variables using it. This way it is more
conform with the naming in the rest of the codebase.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
/**
92
92
 * HIP host association state.
93
93
 */
94
 
enum hip_hastate {
95
 
    HIP_HASTATE_INVALID = 0,
96
 
    HIP_HASTATE_VALID   = 1,
 
94
enum hip_ha_state {
 
95
    HIP_HA_STATE_INVALID = 0,
 
96
    HIP_HA_STATE_VALID   = 1,
97
97
};
98
98
 
99
99
/**
148
148
    /** Information about the usage of the host association related to
149
149
     *  locking stuff which is currently unimplemented because the daemon
150
150
     *  is single threaded. When zero, the host association can be freed. */
151
 
    enum hip_hastate hastate;
 
151
    enum hip_ha_state ha_state;
152
152
    /** Counter to tear down a HA in CLOSING or CLOSED state */
153
153
    int purge_timeout;
154
154
    /** The state of this host association. @see hip_ha_state */