Whamcloud - gitweb
b=3031
[fs/lustre-release.git] / lnet / lnet / lib-pid.c
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *   This file is part of Lustre, http://www.lustre.org
5  *   This file is not subject to copyright protection.
6  */
7
8 /* This should be removed.  The NAL should have the PID information */
9 #define DEBUG_SUBSYSTEM S_PORTALS
10
11 #include <portals/lib-p30.h>
12
13 int
14 lib_api_get_id(nal_t *apinal, ptl_process_id_t *pid)
15 {
16         lib_nal_t *nal = apinal->nal_data;
17         
18         *pid = nal->libnal_ni.ni_pid;
19         return PTL_OK;
20 }