~codership/galera/3.x

« back to all changes in this revision

Viewing changes to gcs/src/gcs.h

  • Committer: Alexey Yurchenko
  • Date: 2014-02-06 19:27:50 UTC
  • mfrom: (153.2.15 2.x)
  • Revision ID: alexey.yurchenko@codership.com-20140206192750-n9to0wtjevl69gok
Tags: release_25.3.3(percona)
References lp:1260193 - all supported parameters are now registered before parsing the initial options string, so unrecognized options can be detected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2008-2013 Codership Oy <info@codership.com>
 
2
 * Copyright (C) 2008-2014 Codership Oy <info@codership.com>
3
3
 *
4
 
 * $Id: gcs.h 3448 2014-01-13 01:49:17Z teemu $
 
4
 * $Id: gcs.h 3455 2014-02-01 18:11:09Z alex $
5
5
 */
6
6
 
7
7
/*!
146
146
typedef enum gcs_act_type
147
147
{
148
148
/* ordered actions */
149
 
    GCS_ACT_TORDERED,   //! action representing state change, will be assigned global seqno
 
149
    GCS_ACT_TORDERED,   //! action representing state change, will be assigned
 
150
                        //  global seqno
150
151
    GCS_ACT_COMMIT_CUT, //! group-wide action commit cut
151
152
    GCS_ACT_STATE_REQ,  //! request for state transfer
152
153
    GCS_ACT_CONF,       //! new configuration
345
346
 
346
347
/* GCS Configuration */
347
348
 
 
349
/*! Registers configurable parameters with conf object */
 
350
extern void
 
351
gcs_register_params (gu_config_t* conf);
 
352
 
348
353
/*! sets the key to a given value
349
354
 *
350
355
 * @return 0 in case of success, 1 if key not found or negative error code */