1 |
/* cap-server-intern.h - Internal interface to the Hurd capability library. |
/* cap-server-intern.h - Internal interface to the Hurd capability library. |
2 |
Copyright (C) 2004 Free Software Foundation, Inc. |
Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
3 |
Written by Marcus Brinkmann <marcus@gnu.org> |
Written by Marcus Brinkmann <marcus@gnu.org> |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
579 |
pthread_cond_broadcast (&obj->cap_class->cond); |
pthread_cond_broadcast (&obj->cap_class->cond); |
580 |
} |
} |
581 |
} |
} |
582 |
|
|
583 |
|
/* The following structure is used when using other capabilities in an |
584 |
|
RPC handler beside the one on which the RPC was invoked. */ |
585 |
|
struct hurd_cap_ctx_cap_use |
586 |
|
{ |
587 |
|
/* Private members. */ |
588 |
|
|
589 |
|
_hurd_cap_obj_entry_t _obj_entry; |
590 |
|
|
591 |
|
/* The pending_rpc list item for the object's pending RPC list. */ |
592 |
|
struct _hurd_cap_list_item _worker_obj; |
593 |
|
|
594 |
|
/* The pending_rpc list item for the object class' pending RPC list. */ |
595 |
|
struct _hurd_cap_list_item _worker_class; |
596 |
|
}; |
597 |
|
|
598 |
|
|
599 |
#endif /* _HURD_CAP_SERVER_INTERN_H */ |
#endif /* _HURD_CAP_SERVER_INTERN_H */ |