mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
util: Move asn1 to lib/util to trim down the number of subsystems.
This commit is contained in:
parent
df36c78549
commit
44e1cfd2d0
@ -23,7 +23,7 @@
|
||||
#include "includes.h"
|
||||
#include "auth/gensec/spnego.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
|
||||
static bool read_negTokenInit(struct asn1_data *asn1, TALLOC_CTX *mem_ctx,
|
||||
struct spnego_negTokenInit *token)
|
||||
|
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
|
||||
/*
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "librpc/gen_ndr/ndr_samr.h"
|
||||
#include "lib/util/dlinklist.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
#include "ldap_server/ldap_server.h"
|
||||
#include "smbd/service_task.h"
|
||||
#include "smbd/service_stream.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
|
||||
/* allocate an asn1 structure */
|
||||
struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx)
|
@ -49,6 +49,6 @@ struct asn1_data {
|
||||
|
||||
#define ASN1_MAX_OIDS 20
|
||||
|
||||
#include "libcli/util/asn1_proto.h"
|
||||
#include "lib/util/asn1_proto.h"
|
||||
|
||||
#endif /* _ASN_1_H */
|
@ -34,6 +34,11 @@ PUBLIC_DEPENDENCIES = \
|
||||
SOCKET_WRAPPER EXT_NSL \
|
||||
CHARSET EXECINFO
|
||||
|
||||
[SUBSYSTEM::ASN1_UTIL]
|
||||
PUBLIC_PROTO_HEADER = asn1_proto.h
|
||||
PUBLIC_HEADERS = asn1.h
|
||||
OBJ_FILES = asn1.o
|
||||
|
||||
[SUBSYSTEM::UNIX_PRIVS]
|
||||
PRIVATE_PROTO_HEADER = unix_privs.h
|
||||
OBJ_FILES = unix_privs.o
|
||||
|
@ -19,7 +19,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
#include "librpc/gen_ndr/nbt.h"
|
||||
|
||||
struct ldap_message;
|
||||
|
@ -8,11 +8,6 @@ OBJ_FILES = util/doserr.o \
|
||||
util/errormap.o \
|
||||
util/nterr.o \
|
||||
|
||||
[SUBSYSTEM::ASN1_UTIL]
|
||||
PUBLIC_PROTO_HEADER = util/asn1_proto.h
|
||||
PUBLIC_HEADERS = util/asn_1.h
|
||||
OBJ_FILES = util/asn1.o
|
||||
|
||||
[SUBSYSTEM::LIBCLI_LSA]
|
||||
PRIVATE_PROTO_HEADER = util/clilsa.h
|
||||
OBJ_FILES = util/clilsa.o
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
#include "libcli/ldap/ldap.h"
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
#include "lib/util/dlinklist.h"
|
||||
#include "lib/events/events.h"
|
||||
#include "lib/socket/socket.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
#include "libcli/ldap/ldap.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "includes.h"
|
||||
#include "librpc/gen_ndr/ndr_drsuapi.h"
|
||||
#include "librpc/gen_ndr/ndr_misc.h"
|
||||
#include "libcli/util/asn_1.h"
|
||||
#include "lib/util/asn1.h"
|
||||
|
||||
void ndr_print_drsuapi_DsReplicaObjectListItem(struct ndr_print *ndr, const char *name,
|
||||
const struct drsuapi_DsReplicaObjectListItem *r)
|
||||
|
Loading…
Reference in New Issue
Block a user