Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b548f8c4
Commit
b548f8c4
authored
Feb 09, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove some no longer used directory functions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3cde722e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
33 deletions
+0
-33
directory.c
server/directory.c
+0
-29
object.h
server/object.h
+0
-4
No files found.
server/directory.c
View file @
b548f8c4
...
...
@@ -228,28 +228,6 @@ struct directory *get_directory_obj( struct process *process, obj_handle_t handl
return
(
struct
directory
*
)
get_handle_obj
(
process
,
handle
,
access
,
&
directory_ops
);
}
/******************************************************************************
* Find an object by its name in a given root object
*
* PARAMS
* root [I] directory to start search from or NULL to start from \\
* name [I] object name to search for
* attr [I] OBJECT_ATTRIBUTES.Attributes
* name_left [O] [optional] leftover name if object is not found
*
* RETURNS
* NULL: If params are invalid
* Found: If object with exact name is found returns that object
* (name_left->len == 0). Object's refcount is incremented
* Not found: The last matched parent. (name_left->len > 0)
* Parent's refcount is incremented.
*/
struct
object
*
find_object_dir
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
,
struct
unicode_str
*
name_left
)
{
return
lookup_named_object
(
&
root
->
obj
,
name
,
attr
,
name_left
);
}
/* create a named (if name is present) or unnamed object. */
void
*
create_named_object_dir
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attributes
,
const
struct
object_ops
*
ops
)
...
...
@@ -257,13 +235,6 @@ void *create_named_object_dir( struct directory *root, const struct unicode_str
return
create_named_object
(
&
root
->
obj
,
ops
,
name
,
attributes
);
}
/* open a new handle to an existing object */
void
*
open_object_dir
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
,
const
struct
object_ops
*
ops
)
{
return
open_named_object
(
&
root
->
obj
,
ops
,
name
,
attr
);
}
/* retrieve an object type, creating it if needed */
struct
object_type
*
get_object_type
(
const
struct
unicode_str
*
name
)
{
...
...
server/object.h
View file @
b548f8c4
...
...
@@ -231,12 +231,8 @@ extern void release_global_atom( struct winstation *winstation, atom_t atom );
extern
struct
object
*
get_root_directory
(
void
);
extern
struct
directory
*
get_directory_obj
(
struct
process
*
process
,
obj_handle_t
handle
,
unsigned
int
access
);
extern
struct
object
*
find_object_dir
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
,
struct
unicode_str
*
name_left
);
extern
void
*
create_named_object_dir
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
,
const
struct
object_ops
*
ops
);
extern
void
*
open_object_dir
(
struct
directory
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
,
const
struct
object_ops
*
ops
);
extern
struct
object_type
*
get_object_type
(
const
struct
unicode_str
*
name
);
extern
int
directory_link_name
(
struct
object
*
obj
,
struct
object_name
*
name
,
struct
object
*
parent
);
extern
void
init_directories
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment