Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / include / md_object.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  * GPL HEADER START
5  *
6  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 only,
10  * as published by the Free Software Foundation.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License version 2 for more details (a copy is included
16  * in the LICENSE file that accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License
19  * version 2 along with this program; If not, see
20  * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
21  *
22  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
23  * CA 95054 USA or visit www.sun.com if you need additional information or
24  * have any questions.
25  *
26  * GPL HEADER END
27  */
28 /*
29  * Copyright  2008 Sun Microsystems, Inc. All rights reserved
30  * Use is subject to license terms.
31  */
32 /*
33  * This file is part of Lustre, http://www.lustre.org/
34  * Lustre is a trademark of Sun Microsystems, Inc.
35  *
36  * lustre/include/md_object.h
37  *
38  * Extention of lu_object.h for metadata objects
39  */
40
41 #ifndef _LUSTRE_MD_OBJECT_H
42 #define _LUSTRE_MD_OBJECT_H
43
44 /*
45  * Sub-class of lu_object with methods common for "meta-data" objects in MDT
46  * stack.
47  *
48  * Meta-data objects implement namespace operations: you can link, unlink
49  * them, and treat them as directories.
50  *
51  * Examples: mdt, cmm, and mdt are implementations of md interface.
52  */
53
54
55 /*
56  * super-class definitions.
57  */
58 #include <lu_object.h>
59 #include <lvfs.h>
60
61 struct md_device;
62 struct md_device_operations;
63 struct md_object;
64
65
66 enum {
67         UCRED_INVALID   = -1,
68         UCRED_INIT      = 0,
69         UCRED_OLD       = 1,
70         UCRED_NEW       = 2
71 };
72
73 struct md_ucred {
74         __u32               mu_valid;
75         __u32                   mu_o_uid;
76         __u32                   mu_o_gid;
77         __u32                   mu_o_fsuid;
78         __u32                   mu_o_fsgid;
79         __u32                   mu_uid;
80         __u32                   mu_gid;
81         __u32                   mu_fsuid;
82         __u32                   mu_fsgid;
83         __u32                   mu_suppgids[2];
84         __u32                   mu_cap;
85         __u32                   mu_umask;
86         struct group_info      *mu_ginfo;
87         struct md_identity *mu_identity;
88 };
89
90 #define MD_CAPAINFO_MAX 5
91
92 /* there are at most 5 fids in one operation, see rename, NOTE the last one
93  * is a temporary one used for is_subdir() */
94 struct md_capainfo {
95         const struct lu_fid    *mc_fid[MD_CAPAINFO_MAX];
96         struct lustre_capa     *mc_capa[MD_CAPAINFO_MAX];
97 };
98
99 /*
100  * Implemented in mdd/mdd_handler.c.
101  *
102  * XXX should be moved into separate .h/.c together with all md security
103  * related definitions.
104  */
105 struct md_ucred *md_ucred(const struct lu_env *env);
106 struct md_capainfo *md_capainfo(const struct lu_env *env);
107
108 /* metadata attributes */
109 enum ma_valid {
110         MA_INODE     = (1 << 0),
111         MA_LOV       = (1 << 1),
112         MA_COOKIE    = (1 << 2),
113         MA_FLAGS     = (1 << 3),
114         MA_LMV       = (1 << 4),
115         MA_ACL_DEF   = (1 << 5),
116         MA_LOV_DEF   = (1 << 6)
117 };
118
119 typedef enum {
120         MDL_MINMODE  = 0,
121         MDL_EX       = 1,
122         MDL_PW       = 2,
123         MDL_PR       = 4,
124         MDL_CW       = 8,
125         MDL_CR       = 16,
126         MDL_NL       = 32,
127         MDL_GROUP    = 64,
128         MDL_MAXMODE
129 } mdl_mode_t;
130
131 typedef enum {
132         MDT_NUL_LOCK = 0,
133         MDT_REG_LOCK = (1 << 0),
134         MDT_PDO_LOCK = (1 << 1)
135 } mdl_type_t;
136
137 struct md_attr {
138         __u64                   ma_valid;
139         __u64                   ma_need;
140         __u64                   ma_attr_flags;
141         struct lu_attr          ma_attr;
142         struct lov_mds_md      *ma_lmm;
143         int                     ma_lmm_size;
144         struct lmv_stripe_md   *ma_lmv;
145         int                     ma_lmv_size;
146         void                   *ma_acl;
147         int                     ma_acl_size;
148         struct llog_cookie     *ma_cookie;
149         int                     ma_cookie_size;
150         struct lustre_capa     *ma_capa;
151 };
152
153 /* Additional parameters for create */
154 struct md_op_spec {
155         union {
156                 /* symlink target */
157                 const char               *sp_symname;
158                 /* parent FID for cross-ref mkdir */
159                 const struct lu_fid      *sp_pfid;
160                 /* eadata for regular files */
161                 struct md_spec_reg {
162                         /* lov objs exist already */
163                         const struct lu_fid   *fid;
164                         int no_lov_create;
165                         const void *eadata;
166                         int  eadatalen;
167                 } sp_ea;
168         } u;
169         
170         /* Create flag from client: such as MDS_OPEN_CREAT, and others. */
171         __u32      sp_cr_flags;
172
173         /* Should mdd do lookup sanity check or not. */
174         int        sp_cr_lookup;
175
176         /* Current lock mode for parent dir where create is performing. */
177         mdl_mode_t sp_cr_mode;
178
179         /* Check for split */
180         int        sp_ck_split;
181 };
182
183 /*
184  * Operations implemented for each md object (both directory and leaf).
185  */
186 struct md_object_operations {
187         int (*moo_permission)(const struct lu_env *env,
188                               struct md_object *pobj, struct md_object *cobj,
189                               struct md_attr *attr, int mask);
190
191         int (*moo_attr_get)(const struct lu_env *env, struct md_object *obj,
192                             struct md_attr *attr);
193
194         int (*moo_attr_set)(const struct lu_env *env, struct md_object *obj,
195                             const struct md_attr *attr);
196
197         int (*moo_xattr_get)(const struct lu_env *env, struct md_object *obj,
198                              struct lu_buf *buf, const char *name);
199
200         int (*moo_xattr_list)(const struct lu_env *env, struct md_object *obj,
201                               struct lu_buf *buf);
202
203         int (*moo_xattr_set)(const struct lu_env *env, struct md_object *obj,
204                              const struct lu_buf *buf, const char *name,
205                              int fl);
206
207         int (*moo_xattr_del)(const struct lu_env *env, struct md_object *obj,
208                              const char *name);
209
210         int (*moo_readpage)(const struct lu_env *env, struct md_object *obj,
211                             const struct lu_rdpg *rdpg);
212
213         int (*moo_readlink)(const struct lu_env *env, struct md_object *obj,
214                             struct lu_buf *buf);
215
216         /* part of cross-ref operation */
217         int (*moo_object_create)(const struct lu_env *env,
218                                  struct md_object *obj,
219                                  const struct md_op_spec *spec,
220                                  struct md_attr *ma);
221
222         int (*moo_ref_add)(const struct lu_env *env,
223                            struct md_object *obj,
224                            const struct md_attr *ma);
225
226         int (*moo_ref_del)(const struct lu_env *env,
227                            struct md_object *obj,
228                            struct md_attr *ma);
229
230         int (*moo_open)(const struct lu_env *env,
231                         struct md_object *obj, int flag);
232
233         int (*moo_close)(const struct lu_env *env, struct md_object *obj,
234                          struct md_attr *ma);
235         
236         int (*moo_capa_get)(const struct lu_env *, struct md_object *,
237                             struct lustre_capa *, int renewal);
238         int (*moo_object_sync)(const struct lu_env *, struct md_object *);
239 };
240
241 /*
242  * Operations implemented for each directory object.
243  */
244 struct md_dir_operations {
245         int (*mdo_is_subdir) (const struct lu_env *env, struct md_object *obj,
246                               const struct lu_fid *fid, struct lu_fid *sfid);
247
248         int (*mdo_lookup)(const struct lu_env *env, struct md_object *obj,
249                           const struct lu_name *lname, struct lu_fid *fid,
250                           struct md_op_spec *spec);
251
252         mdl_mode_t (*mdo_lock_mode)(const struct lu_env *env,
253                                     struct md_object *obj,
254                                     mdl_mode_t mode);
255
256         int (*mdo_create)(const struct lu_env *env, struct md_object *pobj,
257                           const struct lu_name *lname, struct md_object *child,
258                           struct md_op_spec *spec,
259                           struct md_attr *ma);
260
261         /* This method is used for creating data object for this meta object*/
262         int (*mdo_create_data)(const struct lu_env *env, struct md_object *p,
263                                struct md_object *o,
264                                const struct md_op_spec *spec,
265                                struct md_attr *ma);
266
267         int (*mdo_rename)(const struct lu_env *env, struct md_object *spobj,
268                           struct md_object *tpobj, const struct lu_fid *lf,
269                           const struct lu_name *lsname, struct md_object *tobj,
270                           const struct lu_name *ltname, struct md_attr *ma);
271
272         int (*mdo_link)(const struct lu_env *env, struct md_object *tgt_obj,
273                         struct md_object *src_obj, const struct lu_name *lname,
274                         struct md_attr *ma);
275
276         int (*mdo_unlink)(const struct lu_env *env, struct md_object *pobj,
277                           struct md_object *cobj, const struct lu_name *lname,
278                           struct md_attr *ma);
279
280         /* partial ops for cross-ref case */
281         int (*mdo_name_insert)(const struct lu_env *env,
282                                struct md_object *obj,
283                                const struct lu_name *lname,
284                                const struct lu_fid *fid,
285                                const struct md_attr *ma);
286
287         int (*mdo_name_remove)(const struct lu_env *env,
288                                struct md_object *obj,
289                                const struct lu_name *lname,
290                                const struct md_attr *ma);
291
292         int (*mdo_rename_tgt)(const struct lu_env *env, struct md_object *pobj,
293                               struct md_object *tobj, const struct lu_fid *fid,
294                               const struct lu_name *lname, struct md_attr *ma);
295 };
296
297 struct md_device_operations {
298         /* meta-data device related handlers. */
299         int (*mdo_root_get)(const struct lu_env *env, struct md_device *m,
300                             struct lu_fid *f);
301
302         int (*mdo_maxsize_get)(const struct lu_env *env, struct md_device *m,
303                                int *md_size, int *cookie_size);
304
305         int (*mdo_statfs)(const struct lu_env *env, struct md_device *m,
306                           struct kstatfs *sfs);
307
308         int (*mdo_init_capa_ctxt)(const struct lu_env *env, struct md_device *m,
309                                   int mode, unsigned long timeout, __u32 alg,
310                                   struct lustre_capa_key *keys);
311
312         int (*mdo_update_capa_key)(const struct lu_env *env,
313                                    struct md_device *m,
314                                    struct lustre_capa_key *key);
315 };
316
317 enum md_upcall_event {
318         /*sync the md layer*/
319         MD_LOV_SYNC = (1 << 0),
320         MD_NO_TRANS = (1 << 1), /* Just for split, no need trans, for replay */
321         MD_LOV_CONFIG = (1 << 2)
322 };
323
324 struct md_upcall {
325         /* this lock protects upcall using against its removal
326          * read lock is for usage the upcall, write - for init/fini */
327         struct rw_semaphore     mu_upcall_sem;
328         /* device to call, upper layer normally */
329         struct md_device       *mu_upcall_dev;
330         /* upcall function */
331         int (*mu_upcall)(const struct lu_env *env, struct md_device *md,
332                          enum md_upcall_event ev);
333 };
334
335 struct md_device {
336         struct lu_device             md_lu_dev;
337         struct md_device_operations *md_ops;
338         struct md_upcall             md_upcall;
339 };
340
341 static inline void md_upcall_init(struct md_device *m, void *upcl)
342 {
343         init_rwsem(&m->md_upcall.mu_upcall_sem);
344         m->md_upcall.mu_upcall_dev = NULL;
345         m->md_upcall.mu_upcall = upcl;
346 }
347
348 static inline void md_upcall_dev_set(struct md_device *m, struct md_device *up)
349 {
350         down_write(&m->md_upcall.mu_upcall_sem);
351         m->md_upcall.mu_upcall_dev = up;
352         up_write(&m->md_upcall.mu_upcall_sem);
353 }
354
355 static inline void md_upcall_fini(struct md_device *m)
356 {
357         down_write(&m->md_upcall.mu_upcall_sem);
358         m->md_upcall.mu_upcall_dev = NULL;
359         m->md_upcall.mu_upcall = NULL;
360         up_write(&m->md_upcall.mu_upcall_sem);
361 }
362
363 static inline int md_do_upcall(const struct lu_env *env, struct md_device *m,
364                                enum md_upcall_event ev)
365 {
366         int rc = 0;
367         down_read(&m->md_upcall.mu_upcall_sem);
368         if (m->md_upcall.mu_upcall_dev != NULL &&
369             m->md_upcall.mu_upcall_dev->md_upcall.mu_upcall != NULL) {
370                 rc = m->md_upcall.mu_upcall_dev->md_upcall.mu_upcall(env,
371                                               m->md_upcall.mu_upcall_dev, ev);
372         }
373         up_read(&m->md_upcall.mu_upcall_sem);
374         return rc;
375 }
376
377 struct md_object {
378         struct lu_object             mo_lu;
379         struct md_object_operations *mo_ops;
380         struct md_dir_operations    *mo_dir_ops;
381 };
382
383 static inline int lu_device_is_md(const struct lu_device *d)
384 {
385         return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_MD);
386 }
387
388 static inline struct md_device *lu2md_dev(const struct lu_device *d)
389 {
390         LASSERT(lu_device_is_md(d));
391         return container_of0(d, struct md_device, md_lu_dev);
392 }
393
394 static inline struct lu_device *md2lu_dev(struct md_device *d)
395 {
396         return &d->md_lu_dev;
397 }
398
399 static inline struct md_object *lu2md(const struct lu_object *o)
400 {
401         LASSERT(lu_device_is_md(o->lo_dev));
402         return container_of0(o, struct md_object, mo_lu);
403 }
404
405 static inline struct md_object *md_object_next(const struct md_object *obj)
406 {
407         return (obj ? lu2md(lu_object_next(&obj->mo_lu)) : NULL);
408 }
409
410 static inline struct md_device *md_obj2dev(const struct md_object *o)
411 {
412         LASSERT(lu_device_is_md(o->mo_lu.lo_dev));
413         return container_of0(o->mo_lu.lo_dev, struct md_device, md_lu_dev);
414 }
415
416 static inline int md_device_init(struct md_device *md, struct lu_device_type *t)
417 {
418         return lu_device_init(&md->md_lu_dev, t);
419 }
420
421 static inline void md_device_fini(struct md_device *md)
422 {
423         lu_device_fini(&md->md_lu_dev);
424 }
425
426 /* md operations */
427 static inline int mo_permission(const struct lu_env *env,
428                                 struct md_object *p,
429                                 struct md_object *c,
430                                 struct md_attr *at,
431                                 int mask)
432 {
433         LASSERT(c->mo_ops->moo_permission);
434         return c->mo_ops->moo_permission(env, p, c, at, mask);
435 }
436
437 static inline int mo_attr_get(const struct lu_env *env,
438                               struct md_object *m,
439                               struct md_attr *at)
440 {
441         LASSERT(m->mo_ops->moo_attr_get);
442         return m->mo_ops->moo_attr_get(env, m, at);
443 }
444
445 static inline int mo_readlink(const struct lu_env *env,
446                               struct md_object *m,
447                               struct lu_buf *buf)
448 {
449         LASSERT(m->mo_ops->moo_readlink);
450         return m->mo_ops->moo_readlink(env, m, buf);
451 }
452
453 static inline int mo_attr_set(const struct lu_env *env,
454                               struct md_object *m,
455                               const struct md_attr *at)
456 {
457         LASSERT(m->mo_ops->moo_attr_set);
458         return m->mo_ops->moo_attr_set(env, m, at);
459 }
460
461 static inline int mo_xattr_get(const struct lu_env *env,
462                                struct md_object *m,
463                                struct lu_buf *buf,
464                                const char *name)
465 {
466         LASSERT(m->mo_ops->moo_xattr_get);
467         return m->mo_ops->moo_xattr_get(env, m, buf, name);
468 }
469
470 static inline int mo_xattr_del(const struct lu_env *env,
471                                struct md_object *m,
472                                const char *name)
473 {
474         LASSERT(m->mo_ops->moo_xattr_del);
475         return m->mo_ops->moo_xattr_del(env, m, name);
476 }
477
478 static inline int mo_xattr_set(const struct lu_env *env,
479                                struct md_object *m,
480                                const struct lu_buf *buf,
481                                const char *name,
482                                int flags)
483 {
484         LASSERT(m->mo_ops->moo_xattr_set);
485         return m->mo_ops->moo_xattr_set(env, m, buf, name, flags);
486 }
487
488 static inline int mo_xattr_list(const struct lu_env *env,
489                                 struct md_object *m,
490                                 struct lu_buf *buf)
491 {
492         LASSERT(m->mo_ops->moo_xattr_list);
493         return m->mo_ops->moo_xattr_list(env, m, buf);
494 }
495
496 static inline int mo_open(const struct lu_env *env,
497                           struct md_object *m,
498                           int flags)
499 {
500         LASSERT(m->mo_ops->moo_open);
501         return m->mo_ops->moo_open(env, m, flags);
502 }
503
504 static inline int mo_close(const struct lu_env *env,
505                            struct md_object *m,
506                            struct md_attr *ma)
507 {
508         LASSERT(m->mo_ops->moo_close);
509         return m->mo_ops->moo_close(env, m, ma);
510 }
511
512 static inline int mo_readpage(const struct lu_env *env,
513                               struct md_object *m,
514                               const struct lu_rdpg *rdpg)
515 {
516         LASSERT(m->mo_ops->moo_readpage);
517         return m->mo_ops->moo_readpage(env, m, rdpg);
518 }
519
520 static inline int mo_object_create(const struct lu_env *env,
521                                    struct md_object *m,
522                                    const struct md_op_spec *spc,
523                                    struct md_attr *at)
524 {
525         LASSERT(m->mo_ops->moo_object_create);
526         return m->mo_ops->moo_object_create(env, m, spc, at);
527 }
528
529 static inline int mo_ref_add(const struct lu_env *env,
530                              struct md_object *m,
531                              const struct md_attr *ma)
532 {
533         LASSERT(m->mo_ops->moo_ref_add);
534         return m->mo_ops->moo_ref_add(env, m, ma);
535 }
536
537 static inline int mo_ref_del(const struct lu_env *env,
538                              struct md_object *m,
539                              struct md_attr *ma)
540 {
541         LASSERT(m->mo_ops->moo_ref_del);
542         return m->mo_ops->moo_ref_del(env, m, ma);
543 }
544
545 static inline int mo_capa_get(const struct lu_env *env,
546                               struct md_object *m,
547                               struct lustre_capa *c,
548                               int renewal)
549 {
550         LASSERT(m->mo_ops->moo_capa_get);
551         return m->mo_ops->moo_capa_get(env, m, c, renewal);
552 }
553
554 static inline int mo_object_sync(const struct lu_env *env, struct md_object *m)
555 {
556         LASSERT(m->mo_ops->moo_object_sync);
557         return m->mo_ops->moo_object_sync(env, m);
558 }
559
560 static inline int mdo_lookup(const struct lu_env *env,
561                              struct md_object *p,
562                              const struct lu_name *lname,
563                              struct lu_fid *f,
564                              struct md_op_spec *spec)
565 {
566         LASSERT(p->mo_dir_ops->mdo_lookup);
567         return p->mo_dir_ops->mdo_lookup(env, p, lname, f, spec);
568 }
569
570 static inline mdl_mode_t mdo_lock_mode(const struct lu_env *env,
571                                        struct md_object *mo,
572                                        mdl_mode_t lm)
573 {
574         if (mo->mo_dir_ops->mdo_lock_mode == NULL)
575                 return MDL_MINMODE;
576         return mo->mo_dir_ops->mdo_lock_mode(env, mo, lm);
577 }
578
579 static inline int mdo_create(const struct lu_env *env,
580                              struct md_object *p,
581                              const struct lu_name *lchild_name,
582                              struct md_object *c,
583                              struct md_op_spec *spc,
584                              struct md_attr *at)
585 {
586         LASSERT(c->mo_dir_ops->mdo_create);
587         return c->mo_dir_ops->mdo_create(env, p, lchild_name, c, spc, at);
588 }
589
590 static inline int mdo_create_data(const struct lu_env *env,
591                                   struct md_object *p,
592                                   struct md_object *c,
593                                   const struct md_op_spec *spec,
594                                   struct md_attr *ma)
595 {
596         LASSERT(c->mo_dir_ops->mdo_create_data);
597         return c->mo_dir_ops->mdo_create_data(env, p, c, spec, ma);
598 }
599
600 static inline int mdo_rename(const struct lu_env *env,
601                              struct md_object *sp,
602                              struct md_object *tp,
603                              const struct lu_fid *lf,
604                              const struct lu_name *lsname,
605                              struct md_object *t,
606                              const struct lu_name *ltname,
607                              struct md_attr *ma)
608 {
609         LASSERT(tp->mo_dir_ops->mdo_rename);
610         return tp->mo_dir_ops->mdo_rename(env, sp, tp, lf, lsname, t, ltname,
611                                           ma);
612 }
613
614 static inline int mdo_is_subdir(const struct lu_env *env,
615                                 struct md_object *mo,
616                                 const struct lu_fid *fid,
617                                 struct lu_fid *sfid)
618 {
619         LASSERT(mo->mo_dir_ops->mdo_is_subdir);
620         return mo->mo_dir_ops->mdo_is_subdir(env, mo, fid, sfid);
621 }
622
623 static inline int mdo_link(const struct lu_env *env,
624                            struct md_object *p,
625                            struct md_object *s,
626                            const struct lu_name *lname,
627                            struct md_attr *ma)
628 {
629         LASSERT(s->mo_dir_ops->mdo_link);
630         return s->mo_dir_ops->mdo_link(env, p, s, lname, ma);
631 }
632
633 static inline int mdo_unlink(const struct lu_env *env,
634                              struct md_object *p,
635                              struct md_object *c,
636                              const struct lu_name *lname,
637                              struct md_attr *ma)
638 {
639         LASSERT(c->mo_dir_ops->mdo_unlink);
640         return c->mo_dir_ops->mdo_unlink(env, p, c, lname, ma);
641 }
642
643 static inline int mdo_name_insert(const struct lu_env *env,
644                                   struct md_object *p,
645                                   const struct lu_name *lname,
646                                   const struct lu_fid *f,
647                                   const struct md_attr *ma)
648 {
649         LASSERT(p->mo_dir_ops->mdo_name_insert);
650         return p->mo_dir_ops->mdo_name_insert(env, p, lname, f, ma);
651 }
652
653 static inline int mdo_name_remove(const struct lu_env *env,
654                                   struct md_object *p,
655                                   const struct lu_name *lname,
656                                   const struct md_attr *ma)
657 {
658         LASSERT(p->mo_dir_ops->mdo_name_remove);
659         return p->mo_dir_ops->mdo_name_remove(env, p, lname, ma);
660 }
661
662 static inline int mdo_rename_tgt(const struct lu_env *env,
663                                  struct md_object *p,
664                                  struct md_object *t,
665                                  const struct lu_fid *lf,
666                                  const struct lu_name *lname,
667                                  struct md_attr *ma)
668 {
669         if (t) {
670                 LASSERT(t->mo_dir_ops->mdo_rename_tgt);
671                 return t->mo_dir_ops->mdo_rename_tgt(env, p, t, lf, lname, ma);
672         } else {
673                 LASSERT(p->mo_dir_ops->mdo_rename_tgt);
674                 return p->mo_dir_ops->mdo_rename_tgt(env, p, t, lf, lname, ma);
675         }
676 }
677
678 #endif /* _LINUX_MD_OBJECT_H */