X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsyscall_getvci-v21.hc;fp=lib%2Fsyscall_getvci-v21.hc;h=f28db57bb72a6528ef48ca52b607f883b1e5a4f1;hb=fc28db1eb4146796ec27c2fb15780d6303120261;hp=0000000000000000000000000000000000000000;hpb=8cf13bb177d92c93eb73dc8939777150536c2d00;p=util-vserver.git diff --git a/lib/syscall_getvci-v21.hc b/lib/syscall_getvci-v21.hc new file mode 100644 index 0000000..f28db57 --- /dev/null +++ b/lib/syscall_getvci-v21.hc @@ -0,0 +1,27 @@ +// $Id: syscall_getvci-v21.hc 2415 2006-12-08 13:24:49Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_vci_v21(int UNUSED tmp) +{ + return vserver(VCMD_get_vci, 0, 0); +}