Whamcloud - gitweb
LU-1606 api: Rename liblustreapi.h -> lustreapi.h
authorChristopher J. Morrone <morrone2@llnl.gov>
Wed, 18 Jul 2012 00:22:18 +0000 (17:22 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 9 Oct 2012 15:06:32 +0000 (11:06 -0400)
commitf715e4e2987231a4eea51d007ecb46b5ea16c142
treec2c9600a6d4290a7a0f7ce36ba0c33271cc3b54d
parent8c95bfb0140ca5aadd3fe73a4f69d6b2373cc066
LU-1606 api: Rename liblustreapi.h -> lustreapi.h

The header file "liblustreapi.h" is unfortunately named,
implying that it is only part of the lustre-in-user-space-client
rather than the more general lustre api for users that it is.

This patch renames it to simply "lustreapi.h" to avoid that
confusion.  This also helps to move towards making it
easier to use the lustre API for users.  They can simply

  #include <lustre/lustreapi.h>

and then compile with "-llustreapi".

For backwards compatibility, liblustreapi.h becomes a stub
that includes lustreapi.h, and can be removed at some date
in the future.

Since LU-113, LASSERT should be removed from userspace.
In this change, lustre_user.h has had LASSERTs removed.

All code examples in the man pages have been tested.

Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Signed-off-by: Richard Henwood <richard.henwood@intel.com>
Change-Id: Id1e709d36a855ad2a8eff206fa9f6bbe87182a29
Reviewed-on: http://review.whamcloud.com/3427
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
20 files changed:
lustre/doc/Makefile.am
lustre/doc/llapi_file_get_stripe.3
lustre/doc/llapi_file_open.3
lustre/doc/lustreapi.7 [moved from lustre/doc/liblustreapi.7 with 57% similarity]
lustre/include/lustre/Makefile.am
lustre/include/lustre/liblustreapi.h
lustre/include/lustre/lustre_user.h
lustre/include/lustre/lustreapi.h [new file with mode: 0644]
lustre/liblustre/tests/sanity.c
lustre/tests/copytool.c
lustre/tests/ll_dirstripe_verify.c
lustre/tests/mpi/cascading_rw.c
lustre/tests/mpi/mdsrate.c
lustre/tests/multiop.c
lustre/tests/rwv.c
lustre/tests/sendfile.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/lustre_rsync.c
lustre/utils/obd.c