/*
* trim trailing spaces
*/
+static
void trim_trailing_spaces(struct cmd_line *cl)
{
int i;
* We alctually look for the next key to terminate a previous key
* if <value-type> == '-', then it is a delete type.
*/
+static
CMD *regedit4_get_cmd(int fd)
{
struct command_s *cmd = NULL;
return NULL;
}
+static
int regedit4_exec_cmd(CMD *cmd)
{
return 0;
}
+static
int editreg_1_0_file_type(int fd)
{
int cur_ofs = 0;
return FMT_UNREC;
}
+static
CMD *editreg_1_0_get_cmd(int fd)
{
return NULL;
}
+static
int editreg_1_0_exec_cmd(CMD *cmd)
{
* Create a new command file structure
*/
+static
CMD_FILE *cmd_file_create(char *file)
{
CMD_FILE *tmp;
* key print function here ...
*/
+static
int print_key(const char *path, char *name, char *class_name, int root,
int terminal, int vals)
{
* Sec Desc print functions
*/
+static
void print_type(unsigned char type)
{
switch (type) {
}
}
+static
void print_flags(unsigned char flags)
{
char flg_output[21];
fprintf(stdout, " %s", flg_output);
}
+static
void print_perms(int perms)
{
fprintf(stdout, " %8X", perms);
}
+static
void print_sid(DOM_SID *sid)
{
int i, comps = sid->auths;
fprintf(stdout, "\n");
}
+static
void print_acl(ACL *acl, const char *prefix)
{
int i;
}
}
+static
int print_sec(SEC_DESC *sec_desc)
{
if (!print_security) return 1;
/*
* Value print function here ...
*/
+static
int print_val(const char *path, char *val_name, int val_type, int data_len,
void *data_blk, int terminal, int first, int last)
{
return 1;
}
+static
void usage(void)
{
fprintf(stderr, "Usage: editreg [-f] [-v] [-p] [-k] [-s] [-c <command-file>] <registryfile>\n");