Lines Matching defs:path
44 It is safe to assume that every registry path passed into on of
47 function to strip the beginning of the path and make a copy that the
52 static char* trim_reg_path( char *path )
60 * the path buffer in the extreme case.
63 if ( strlen(path) < key_len ) {
64 DEBUG(0,("trim_reg_path: Registry path too short! [%s]\n", path));
70 p = path + strlen( KEY_PRINTING );
211 static char* dos_basename ( char *path )
215 p = strrchr( path, '\\' );
219 p = path;
319 /* strip the path to only the file's base name */
681 * break off the first part of the path
734 Enumerate registry subkey names given a registry path.
740 char *path;
746 path = trim_reg_path( key );
750 if ( !path )
758 num_subkeys = handle_printing_subpath( path, subkey_ctr, NULL );
760 SAFE_FREE( path );
766 Enumerate registry values given a registry path.
772 char *path;
778 path = trim_reg_path( key );
782 if ( !path )
789 num_values = handle_printing_subpath( path, NULL, val );