* Function to handle a initiation messaage incoming over mesh
* @param cls closure, NULL
* @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
*
* @return GNUNET_OK
*/
* Function to handle an accept messaage incoming over mesh
* @param cls closure, NULL
* @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
*
* @return GNUNET_OK
*/
* Function to handle a reject messaage incoming over mesh
* @param cls closure, NULL
* @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
*
* @return GNUNET_OK
*/
* Function to handle a terminate messaage incoming over mesh
* @param cls closure, NULL
* @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
*
* @return GNUNET_OK
*/
* Function to handle a audio messaage incoming over mesh
* @param cls closure, NULL
* @param tunnel the tunnel over which the message arrived
- * @pram tunnel_ctx the tunnel context, can be NULL
- * @pram message the incoming message
+ * @param tunnel_ctx the tunnel context, can be NULL
+ * @param message the incoming message
*
* @return GNUNET_OK
*/
* @param dbh database handle
* @param name name for the prepared SQL statement
* @param sql SQL code to prepare
- * @param nparms number of parameters in sql
+ * @param nparams number of parameters in sql
* @param filename filename for error reporting
* @param line code line for error reporting
* @return GNUNET_OK on success
*/
int
GNUNET_POSTGRES_prepare_ (PGconn *dbh, const char *name, const char *sql,
- int nparms,
+ int nparams,
const char *filename, int line);
typedef NET_API_STATUS WINAPI (*TNetUserSetInfo) (LPCWSTR servername,
LPCWSTR username,
DWORD level, LPBYTE buf,
- LPDWORD parm_err);
+ LPDWORD param_err);
typedef NTSTATUS NTAPI (*TLsaOpenPolicy) (PLSA_UNICODE_STRING,
PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK,
PLSA_HANDLE);
* @param dbh database handle
* @param name name for the prepared SQL statement
* @param sql SQL code to prepare
- * @param nparms number of parameters in sql
+ * @param nparams number of parameters in sql
* @param filename filename for error reporting
* @param line code line for error reporting
* @return GNUNET_OK on success
*/
int
GNUNET_POSTGRES_prepare_ (PGconn * dbh, const char *name, const char *sql,
- int nparms, const char *filename, int line)
+ int nparams, const char *filename, int line)
{
PGresult *ret;
- ret = PQprepare (dbh, name, sql, nparms, NULL);
+ ret = PQprepare (dbh, name, sql, nparams, NULL);
if (GNUNET_OK !=
GNUNET_POSTGRES_check_result_ (dbh, ret, PGRES_COMMAND_OK, "PQprepare",
sql, filename, line))
static void
generate_keyset ()
{
- gcry_sexp_t gen_parms;
+ gcry_sexp_t gen_params;
gcry_sexp_t key;
gcry_sexp_t tmp_sexp;
gcry_mpi_t p;
size_t erroff = 0;
// we can still use the RSA keygen for generating p,q,n, but using e is pointless.
- GNUNET_assert (0 == gcry_sexp_build (&gen_parms, &erroff,
+ GNUNET_assert (0 == gcry_sexp_build (&gen_params, &erroff,
"(genkey(rsa(nbits %d)(rsa-use-e 3:257)))",
KEYBITS));
- GNUNET_assert (0 == gcry_pk_genkey (&key, gen_parms));
- gcry_sexp_release (gen_parms);
+ GNUNET_assert (0 == gcry_pk_genkey (&key, gen_params));
+ gcry_sexp_release (gen_params);
// get n and d of our publickey as MPI
tmp_sexp = gcry_sexp_find_token (key, "n", 0);