/*
* There are potentially quite a few store operations which are all
- * indiviually wrapped in tdb transactions. Wrapping them in a single
+ * individually wrapped in tdb transactions. Wrapping them in a single
* transaction gives just a single transaction_commit() to actually do
* its fsync()s. See tdb/common/transaction.c for info about nested
* transaction behaviour.
TALLOC_FREE(db_path);
regdb_refcount = 1;
- DEBUG(10, ("regdb_init: registry db openend. refcount reset (%d)\n",
+ DEBUG(10, ("regdb_init: registry db opened. refcount reset (%d)\n",
regdb_refcount));
status = dbwrap_fetch_int32_bystring(regdb, REGDB_VERSION_KEYNAME,
* @param[out] ost outstream
* @param[in] name string
*
- * @return numner of bytes written, -1 on error
+ * @return number of bytes written, -1 on error
* @see srprs_val_name
*/
static int cbuf_print_value_assign(cbuf* ost, const char* name) {
/**
* @brief Format registration entries (.reg) files.
- * A formater is a talloced incarnation of an opaque struct reg_format.
+ * A formatter is a talloced incarnation of an opaque struct reg_format.
* It is fed with registry key's and value's and emits output by calling
* writeline from its reg_format_callback.
* @file reg_format.h
/**
- * A Formater for registration entries (.reg) files.
+ * A Formatter for registration entries (.reg) files.
*
* It may be used as a reg_parse_callback, so the following is valid:
* @code
const char* line);
/**
* Type handling the output of a reg_format object.
- * It containes the functions to call and an opaque data pointer.
+ * It contains the functions to call and an opaque data pointer.
*/
typedef struct reg_format_callback {
/**< Function called to write a line */
* Format a registry key given as struct registry_key.
* Create/Open or Delete
*
- * @param f the formater.
+ * @param f the formatter.
* @param key the key to output.
- * @param del wheter to format the deletion of the key
+ * @param del whether to format the deletion of the key
*
* @retval >= 0 on success.
*/
/**
* Format a registry value given as struct registry_value.
*
- * @param f the formater.
+ * @param f the formatter.
* @param name the values name
* @param val the values value.
*
/**
* Format a registry value given as struct regval_blob.
*
- * @param f the formater.
+ * @param f the formatter.
* @param name the values name, if NULL use val->valname which is limited in size;
* @param val the values value.
*
/**
* Format deletion of a registry value.
*
- * @param f the formater.
+ * @param f the formatter.
* @param name the values name
*
* @retval >= 0 on success.
/**
* Format a comment.
*
- * @param f the formater.
+ * @param f the formatter.
* @param txt the comment in UNIX charset, may not contain newlines.
*
* @retval >= 0 on success.
* Format a registry key.
* Create/Open or Delete
*
- * @param f the formater
+ * @param f the formatter
* @param key the key to output
* @param klen number of elements in key
- * @param del wheter to format the deletion of the key
+ * @param del whether to format the deletion of the key
*
* @retval >= 0 on success.
*
/**
* Format a registry value.
*
- * @param f the formater
+ * @param f the formatter
* @param name the values name
* @param type the values type
* @param data the values value
/**
* Type handling the output of a reg_import object.
- * It containes the functions to call and an opaque data pointer.
+ * It contains the functions to call and an opaque data pointer.
*/
struct reg_import_callback {
/** Function called to open key */
/**
* Type handling the output of a reg_parse object.
- * It containes the functions to call and an opaque data pointer.
+ * It contains the functions to call and an opaque data pointer.
*/
typedef struct reg_parse_callback {
reg_parse_callback_key_t key; /**< Function called on key found */
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
-# causing a significant performance penality.
+# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
-# a logarithmic scale so increasing the size by one will rougly double the
+# a logarithmic scale so increasing the size by one will roughly double the
# memory usage. The cache size is given by this formula:
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
# corresponding to a cache size of 2^16 = 65536 symbols
/**
* @brief Some stuff used by reg_parse and reg_format.
- * It might be usefull elsewehre but need some review of the interfaces.
+ * It might be useful elsewehre but need some review of the interfaces.
* @file reg_parse_internal.h
* @author Gregor Beck <gb@sernet.de>
* @date Sep 2010
/* Now do the counters */
/* If no instances, encode counter_data */
- /* If instances, encode instace plus counter data for each instance */
+ /* If instances, encode instance plus counter data for each instance */
if(_reg_perfcount_marshall_perf_counters(ps, object, depth) == False)
return False;
if(object.NumInstances == PERF_NO_INSTANCES)
}
/*******************************************************************
- Intialize the newly created REGF_BLOCK in *file and write the
+ Initialize the newly created REGF_BLOCK in *file and write the
block header to disk
*******************************************************************/
unix_to_nt_time( &file->mtime, time(NULL) );
- /* hard coded values...no diea what these are ... maybe in time */
+ /* hard coded values...no idea what these are ... maybe in time */
file->unknown1 = 0x2;
file->unknown2 = 0x1;
}
/*******************************************************************
- This acts as an interator over the subkeys defined for a given
+ This acts as an iterator over the subkeys defined for a given
NK record. Remember that offsets are from the *first* HBIN block.
*******************************************************************/
REGF_SK_REC *sec_desc_list; /* list of security descriptors referenced by NK records */
/* Ignore checksums in input data. Used by fuzzing code to allow more
- * coverage without having to calcuate a valid checksum. The checksums
+ * coverage without having to calculate a valid checksum. The checksums
* are merely to detect data corruption and don't provide a security
* value.
*/