Some fixes for doxygen generation
This commit is contained in:
4
README
4
README
@ -23,7 +23,7 @@ function pointers. This structured is called the "module object".
|
|||||||
The code that routes the queries to the database servers is also loaed
|
The code that routes the queries to the database servers is also loaed
|
||||||
as external shared objects and are referred to as routing modules.
|
as external shared objects and are referred to as routing modules.
|
||||||
|
|
||||||
\section Building Building the MaxScale
|
\section Building Building MaxScale
|
||||||
|
|
||||||
Edit the file build_gateway.inc in your skygateway directory and set
|
Edit the file build_gateway.inc in your skygateway directory and set
|
||||||
the ROOT_PATH and MARIADB_SRC_PATH variables to the location in which
|
the ROOT_PATH and MARIADB_SRC_PATH variables to the location in which
|
||||||
@ -53,7 +53,7 @@ Two files are required for the libmysqld library that is used within MaxScale,
|
|||||||
[mysqld]
|
[mysqld]
|
||||||
max_connections=4096
|
max_connections=4096
|
||||||
|
|
||||||
\section Running Running the MaxScale
|
\section Running Running MaxScale
|
||||||
|
|
||||||
The gateway consists of a core executable and a number of modules that implement
|
The gateway consists of a core executable and a number of modules that implement
|
||||||
the different protocols and routing algorithms. These modules are built as
|
the different protocols and routing algorithms. These modules are built as
|
||||||
|
|||||||
@ -23,10 +23,10 @@ UNIX :=
|
|||||||
# makefile.inc and build_gateway.inc are located.
|
# makefile.inc and build_gateway.inc are located.
|
||||||
# ROOT_PATH is used in makefile.
|
# ROOT_PATH is used in makefile.
|
||||||
#
|
#
|
||||||
ROOT_PATH := /home/jdoe/skysql/maxscale
|
ROOT_PATH := /home/mriddoch/Repository/maxscale
|
||||||
|
|
||||||
# MARIADB_SRC_PATH may be defined either as an environment variable or
|
# MARIADB_SRC_PATH may be defined either as an environment variable or
|
||||||
# specifically here
|
# specifically here
|
||||||
ifndef MARIADB_SRC_PATH
|
ifndef $(MARIADB_SRC_PATH)
|
||||||
MARIADB_SRC_PATH := /home/jdoe/mariadb/5.5
|
MARIADB_SRC_PATH := /packages/mariadb-5.5.25
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -136,19 +136,13 @@ if ((rval = calloc(1, sizeof(DCB))) == NULL)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @node DCB is added to the end of zombies list.
|
* Add the DCB to the end of zombies list.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Adding to list occurs once per DCB. This is ensured by changing the
|
||||||
* @param dcb - <usage>
|
|
||||||
* <description>
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @details Adding to list occurs once per DCB. This is ensured by changing the
|
|
||||||
* state of DCB to DCB_STATE_ZOMBIE after addition. Prior insertion, DCB state
|
* state of DCB to DCB_STATE_ZOMBIE after addition. Prior insertion, DCB state
|
||||||
* is checked and operation proceeds only if state differs from DCB_STATE_ZOMBIE.
|
* is checked and operation proceeds only if state differs from DCB_STATE_ZOMBIE.
|
||||||
*
|
* @param dcb The DCB to add to the zombie list
|
||||||
|
* @return none
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
dcb_add_to_zombieslist(DCB *dcb)
|
dcb_add_to_zombieslist(DCB *dcb)
|
||||||
@ -878,16 +872,14 @@ int saved_errno = 0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @node Removes dcb from poll set, and adds it to zombies list. As a consequense,
|
* Removes dcb from poll set, and adds it to zombies list. As a consequense,
|
||||||
* dcb first moves to DCB_STATE_NOPOLLING, and then to DCB_STATE_ZOMBIE state.
|
* dcb first moves to DCB_STATE_NOPOLLING, and then to DCB_STATE_ZOMBIE state.
|
||||||
* At the end of the function state may not be DCB_STATE_ZOMBIE because once dcb_initlock
|
* At the end of the function state may not be DCB_STATE_ZOMBIE because once dcb_initlock
|
||||||
* is released parallel threads may change the state.
|
* is released parallel threads may change the state.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* @param dcb - <usage>
|
* @param dcb The DCB to close
|
||||||
* <description>
|
* @return none
|
||||||
*
|
|
||||||
* @return
|
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @details (write detailed description here)
|
* @details (write detailed description here)
|
||||||
|
|||||||
@ -381,14 +381,10 @@ static void print_log_n_stderr(
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @node The main entry point into the gateway
|
* The main entry point into the gateway
|
||||||
*
|
*
|
||||||
* Parameters:
|
* @param argc The argument count
|
||||||
* @param argc - in, use
|
* @param argv The array of arguments themselves
|
||||||
* The argument count
|
|
||||||
*
|
|
||||||
* @param argv - in, use
|
|
||||||
* The arguments themselves
|
|
||||||
*
|
*
|
||||||
* @return 0 in success, 1 otherwise
|
* @return 0 in success, 1 otherwise
|
||||||
*
|
*
|
||||||
|
|||||||
@ -332,7 +332,7 @@ HASHENTRIES *entries;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @node Produces stat output about hashtable
|
* Produces stat output about hashtable
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* @param table - <usage>
|
* @param table - <usage>
|
||||||
@ -349,8 +349,6 @@ HASHENTRIES *entries;
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @details (write detailed description here)
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void hashtable_get_stats(
|
void hashtable_get_stats(
|
||||||
|
|||||||
@ -213,8 +213,9 @@ return_rc:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define BLOCKINGPOLL 0 /* Set BLOCKING POLL to 1 if using a single thread and to make
|
#define BLOCKINGPOLL 0 /* Set BLOCKING POLL to 1 if using a single thread and to make
|
||||||
* debugging easier.
|
* debugging easier.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The main polling loop
|
* The main polling loop
|
||||||
*
|
*
|
||||||
|
|||||||
@ -54,7 +54,7 @@ static SESSION *allSessions = NULL;
|
|||||||
* service this session is part of.
|
* service this session is part of.
|
||||||
*
|
*
|
||||||
* @param service The service this connection was established by
|
* @param service The service this connection was established by
|
||||||
* @param client The client side DCB
|
* @param client_dcb The client side DCB
|
||||||
* @return The newly created session or NULL if an error occured
|
* @return The newly created session or NULL if an error occured
|
||||||
*/
|
*/
|
||||||
SESSION *
|
SESSION *
|
||||||
|
|||||||
@ -40,11 +40,10 @@ extern int gw_error_backend_event(DCB *dcb);
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @node Creates MySQL protocol structure
|
* Creates MySQL protocol structure
|
||||||
*
|
*
|
||||||
* Parameters:
|
* @param dcb * Must be non-NULL.
|
||||||
* @param dcb - in, use
|
* @param fd
|
||||||
* Must be non-NULL.
|
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*
|
*
|
||||||
@ -295,7 +294,7 @@ int gw_decode_mysql_server_handshake(MySQLProtocol *conn, uint8_t *payload) {
|
|||||||
/**
|
/**
|
||||||
* Receive the MySQL authentication packet from backend, packet # is 2
|
* Receive the MySQL authentication packet from backend, packet # is 2
|
||||||
*
|
*
|
||||||
* @param conn The MySQL protocol structure
|
* @param protocol The MySQL protocol structure
|
||||||
* @return -1 in case of failure, 0 if there was nothing to read, 1 if read
|
* @return -1 in case of failure, 0 if there was nothing to read, 1 if read
|
||||||
* was successful.
|
* was successful.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user