Changeset 534
- Timestamp:
- 02/19/07 03:17:02 (2 years ago)
- Files:
-
- trunk/configure.ac (modified) (1 diff)
- trunk/src/Makefile.am (modified) (1 diff)
- trunk/src/vcc/Makefile.am (modified) (1 diff)
- trunk/src/vcc/cmd.c (modified) (1 diff)
- trunk/src/vcc/cmd.h (modified) (1 diff)
- trunk/src/vcc/create.c (modified) (1 diff)
- trunk/src/vcc/exec.c (modified) (1 diff)
- trunk/src/vcc/kill.c (modified) (1 diff)
- trunk/src/vcc/list.c (modified) (2 diffs)
- trunk/src/vcc/login.c (modified) (1 diff)
- trunk/src/vcc/main.c (modified) (3 diffs)
- trunk/src/vcc/reboot.c (modified) (1 diff)
- trunk/src/vcc/remove.c (modified) (1 diff)
- trunk/src/vcc/rename.c (modified) (1 diff)
- trunk/src/vcc/restart.c (modified) (1 diff)
- trunk/src/vcc/start.c (modified) (1 diff)
- trunk/src/vcc/stop.c (modified) (1 diff)
- trunk/src/vcc/templates.c (modified) (3 diffs)
- trunk/src/vcc/vlogin.c (modified) (1 diff)
- trunk/src/vcd/Makefile.am (modified) (1 diff)
- trunk/src/vcd/auth.c (modified) (1 diff)
- trunk/src/vcd/auth.h (modified) (1 diff)
- trunk/src/vcd/cfg.c (modified) (1 diff)
- trunk/src/vcd/cfg.h (modified) (1 diff)
- trunk/src/vcd/lists.c (modified) (1 diff)
- trunk/src/vcd/lists.h (modified) (1 diff)
- trunk/src/vcd/main.c (modified) (1 diff)
- trunk/src/vcd/methods.c (modified) (2 diffs)
- trunk/src/vcd/methods.h (modified) (2 diffs)
- trunk/src/vcd/methods/Makefile.am (modified) (2 diffs)
- trunk/src/vcd/methods/helper/helper_netup.c (modified) (1 diff)
- trunk/src/vcd/methods/helper/helper_restart.c (modified) (1 diff)
- trunk/src/vcd/methods/helper/helper_shutdown.c (modified) (1 diff)
- trunk/src/vcd/methods/helper/helper_startup.c (modified) (2 diffs)
- trunk/src/vcd/methods/vcd/vcd_login.c (modified) (1 diff)
- trunk/src/vcd/methods/vcd/vcd_user_caps_add.c (modified) (1 diff)
- trunk/src/vcd/methods/vcd/vcd_user_caps_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vcd/vcd_user_caps_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vcd/vcd_user_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vcd/vcd_user_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vcd/vcd_user_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vg/vg_add.c (modified) (1 diff)
- trunk/src/vcd/methods/vg/vg_list.c (modified) (1 diff)
- trunk/src/vcd/methods/vg/vg_remove.c (moved) (moved from trunk/src/vcd/methods/vg/vg_del.c) (2 diffs)
- trunk/src/vcd/methods/vg/vg_vx_add.c (added)
- trunk/src/vcd/methods/vg/vg_vx_list.c (added)
- trunk/src/vcd/methods/vg/vg_vx_remove.c (added)
- trunk/src/vcd/methods/vx/vx_create.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_exec.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_kill.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_reboot.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_remove.c (modified) (2 diffs)
- trunk/src/vcd/methods/vx/vx_rename.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_restart.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_start.c (modified) (1 diff)
- trunk/src/vcd/methods/vx/vx_stop.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_dx_limit_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_dx_limit_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_dx_limit_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_init_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_init_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_list.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_mount_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_mount_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_mount_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_name_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_nx_addr_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_nx_addr_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_nx_addr_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_nx_broadcast_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_nx_broadcast_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_nx_broadcast_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_owner_add.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_owner_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_owner_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vdir_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_bcaps_add.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_bcaps_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_bcaps_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_ccaps_add.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_ccaps_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_ccaps_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_flags_add.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_flags_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_flags_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_limit_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_limit_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_limit_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_sched_get.c (modified) (2 diffs)
- trunk/src/vcd/methods/vxdb/vxdb_vx_sched_remove.c (modified) (2 diffs)
- trunk/src/vcd/methods/vxdb/vxdb_vx_sched_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_uname_get.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_uname_remove.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_vx_uname_set.c (modified) (1 diff)
- trunk/src/vcd/methods/vxdb/vxdb_xid_get.c (modified) (1 diff)
- trunk/src/vcd/validate.c (modified) (1 diff)
- trunk/src/vcd/validate.h (modified) (1 diff)
- trunk/src/vcd/vxdb.c (modified) (1 diff)
- trunk/src/vcd/vxdb.h (modified) (1 diff)
- trunk/src/vcdadm/Makefile.am (modified) (1 diff)
- trunk/src/vcdadm/cmd.h (modified) (1 diff)
- trunk/src/vcdadm/main.c (modified) (1 diff)
- trunk/src/vcdadm/status.c (modified) (1 diff)
- trunk/src/vcdadm/user.c (modified) (1 diff)
- trunk/src/vce/Makefile.am (modified) (1 diff)
- trunk/src/vce/cmd.c (modified) (2 diffs)
- trunk/src/vce/cmd.h (modified) (1 diff)
- trunk/src/vce/dx_limit.c (modified) (1 diff)
- trunk/src/vce/init.c (modified) (1 diff)
- trunk/src/vce/list.c (modified) (2 diffs)
- trunk/src/vce/main.c (modified) (3 diffs)
- trunk/src/vce/mount.c (modified) (1 diff)
- trunk/src/vce/nx_addr.c (modified) (1 diff)
- trunk/src/vce/nx_broadcast.c (modified) (1 diff)
- trunk/src/vce/vx_bcaps.c (modified) (1 diff)
- trunk/src/vce/vx_ccaps.c (modified) (1 diff)
- trunk/src/vce/vx_flags.c (modified) (1 diff)
- trunk/src/vce/vx_limit.c (modified) (1 diff)
- trunk/src/vce/vx_sched.c (modified) (2 diffs)
- trunk/src/vce/vx_uname.c (modified) (1 diff)
- trunk/src/vgc/Makefile.am (modified) (1 diff)
- trunk/src/vgc/cmd.c (modified) (2 diffs)
- trunk/src/vgc/cmd.h (modified) (2 diffs)
- trunk/src/vgc/group.c (modified) (2 diffs)
- trunk/src/vgc/main.c (modified) (2 diffs)
- trunk/src/vgc/vserver.c (added)
- trunk/src/vshelper/Makefile.am (modified) (1 diff)
- trunk/src/vshelper/cfg.c (modified) (1 diff)
- trunk/src/vshelper/cfg.h (modified) (1 diff)
- trunk/src/vshelper/main.c (modified) (1 diff)
- trunk/src/vxpasswd/Makefile.am (modified) (1 diff)
- trunk/src/vxpasswd/vxpasswd.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/configure.ac
r525 r534 1 # Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 # Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 # 3 3 # This program is free software; you can redistribute it and/or modify trunk/src/Makefile.am
r525 r534 1 ## Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 ## Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 ## 3 3 ## This program is free software; you can redistribute it and/or modify trunk/src/vcc/Makefile.am
r493 r534 1 ## Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 ## Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 ## 3 3 ## This program is free software; you can redistribute it and/or modify trunk/src/vcc/cmd.c
r493 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/cmd.h
r493 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/create.c
r484 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org> 1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 // 2007 Luca Longinotti <chtekk@gentoo.org> 2 3 // 3 4 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/exec.c
r407 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/kill.c
r486 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/list.c
r524 r534 23 23 { 24 24 xmlrpc_value *response, *result; 25 char *username , *name;25 char *username; 26 26 int len, i; 27 28 if (argc < 1)29 username = "";30 else31 username = argv[0];32 27 33 28 response = xmlrpc_client_call(env, uri, "vxdb.list", 34 29 SIGNATURE("{s:s}"), 35 "username", username);30 "username", name); 36 31 return_if_fault(env); 37 32 … … 43 38 return_if_fault(env); 44 39 45 xmlrpc_decompose_value(env, result, "s", & name);40 xmlrpc_decompose_value(env, result, "s", &username); 46 41 return_if_fault(env); 47 42 48 43 xmlrpc_DECREF(result); 49 44 50 printf("%s\n", name);45 printf("%s\n", username); 51 46 } 52 47 trunk/src/vcc/login.c
r407 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/main.c
r524 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify … … 48 48 "\n" 49 49 "Available commands:\n" 50 " create <name> <template> [<force> [<copy> [<vdir>]]]\n"51 " exec <name> <command> <args>*\n"52 " kill <name> <pid> <sig>\n"53 " list [<username>]\n"54 " load <name>\n"55 " login <name>\n"56 " reboot <name>\n"57 " remove <name>\n"58 " rename <name> <newname>\n"59 " start <name>\n"60 " status <name>\n"61 " stop <name>\n"50 " create <name> <template> [<force> [<copy> [<vdir>]]]\n" 51 " exec <name> <command> <args>*\n" 52 " kill <name> <pid> <sig>\n" 53 " list [<username>]\n" 54 " load <name>\n" 55 " login <name>\n" 56 " reboot <name>\n" 57 " remove <name>\n" 58 " rename <name> <newname>\n" 59 " start <name>\n" 60 " status <name>\n" 61 " stop <name>\n" 62 62 " templates [<name>]\n" 63 63 "\n" … … 181 181 cmd = argv[optind++]; 182 182 183 if (str_equal(cmd, "list") || str_equal(cmd, "templates")) 184 name = NULL; 185 else if (argc < optind + 1) 186 usage(EXIT_FAILURE); 183 if (argc < optind + 1) 184 name = ""; 187 185 else 188 186 name = argv[optind++]; trunk/src/vcc/reboot.c
r407 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/remove.c
r407 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/rename.c
r484 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/restart.c
r494 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/start.c
r407 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/stop.c
r407 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcc/templates.c
r524 r534 23 23 { 24 24 xmlrpc_value *response, *result; 25 char * name, *description;25 char *tplname, *description; 26 26 int len, i; 27 28 if (argc < 1)29 name = "";30 else31 name = argv[0];32 27 33 28 response = xmlrpc_client_call(env, uri, "vx.templates", … … 44 39 45 40 xmlrpc_decompose_value(env, result, "{s:s,s:s,*}", 46 "name", & name,41 "name", &tplname, 47 42 "description", &description); 48 43 return_if_fault(env); … … 50 45 xmlrpc_DECREF(result); 51 46 52 printf("%s: %s\n", name, description);47 printf("%s: %s\n", tplname, description); 53 48 } 54 49 trunk/src/vcc/vlogin.c
r524 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/Makefile.am
r442 r534 1 ## Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 ## Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 ## 3 3 ## This program is free software; you can redistribute it and/or modify trunk/src/vcd/auth.c
r505 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/auth.h
r442 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/cfg.c
r524 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/cfg.h
r469 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/lists.c
r376 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/lists.h
r351 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/main.c
r500 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods.c
r525 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify … … 93 93 94 94 /* vg */ 95 MREGISTER("vg.add", m_vg_add); 96 MREGISTER("vg.del", m_vg_del); 97 MREGISTER("vg.list", m_vg_list); 95 MREGISTER("vg.add", m_vg_add); 96 MREGISTER("vg.list", m_vg_list); 97 MREGISTER("vg.remove", m_vg_remove); 98 MREGISTER("vg.vx.add", m_vg_vx_add); 99 MREGISTER("vg.vx.list", m_vg_vx_list); 100 MREGISTER("vg.vx.remove", m_vg_vx_remove); 98 101 99 102 /* vx */ trunk/src/vcd/methods.h
r525 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify … … 137 137 /* vg */ 138 138 MPROTO(m_vg_add); 139 MPROTO(m_vg_del);140 139 MPROTO(m_vg_list); 140 MPROTO(m_vg_remove); 141 MPROTO(m_vg_vx_add); 142 MPROTO(m_vg_vx_list); 143 MPROTO(m_vg_vx_remove); 141 144 142 145 /* vx */ trunk/src/vcd/methods/Makefile.am
r525 r534 1 ## Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 ## Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 ## 3 3 ## This program is free software; you can redistribute it and/or modify … … 33 33 34 34 M_VG = vg/vg_add.c \ 35 vg/vg_del.c \ 36 vg/vg_list.c 35 vg/vg_list.c \ 36 vg/vg_remove.c \ 37 vg/vg_vx_add.c \ 38 vg/vg_vx_list.c \ 39 vg/vg_vx_remove.c 37 40 38 41 M_VX = vx/vx_create.c \ trunk/src/vcd/methods/helper/helper_netup.c
r497 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/helper/helper_restart.c
r452 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/helper/helper_shutdown.c
r497 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/helper/helper_startup.c
r520 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify … … 337 337 cpuid = vxdb_column_int(dbr, 0); 338 338 339 if (cpuid > numcpus)339 if (cpuid >= numcpus) 340 340 continue; 341 341 trunk/src/vcd/methods/vcd/vcd_login.c
r458 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vcd/vcd_user_caps_add.c
r457 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vcd/vcd_user_caps_get.c
r505 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vcd/vcd_user_caps_remove.c
r457 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vcd/vcd_user_get.c
r509 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vcd/vcd_user_remove.c
r525 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vcd/vcd_user_set.c
r457 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vg/vg_add.c
r526 r534 1 // Copyright 200 6 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2007 Luca Longinotti <chtekk@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vg/vg_list.c
r526 r534 1 // Copyright 200 6 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2007 Luca Longinotti <chtekk@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vg/vg_remove.c
r533 r534 24 24 #include <lucid/str.h> 25 25 26 xmlrpc_value *m_vg_ del(xmlrpc_env *env, xmlrpc_value *p, void *c)26 xmlrpc_value *m_vg_remove(xmlrpc_env *env, xmlrpc_value *p, void *c) 27 27 { 28 28 LOG_TRACEME … … 62 62 } 63 63 64 else 65 method_return_faultf(env, MEINVAL, 66 "group doesn't exist: %s", group); 67 64 68 return xmlrpc_nil_new(env); 65 69 } trunk/src/vcd/methods/vx/vx_create.c
r533 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org> 1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 // 2007 Luca Longinotti <chtekk@gentoo.org> 2 3 // 3 4 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vx/vx_exec.c
r524 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vx/vx_kill.c
r380 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vx/vx_reboot.c
r497 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify trunk/src/vcd/methods/vx/vx_remove.c
r491 r534 1 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>1 // Copyright 2006-2007 Benedikt Böhm <hollow@gentoo.org> 2 2 // 3 3 // This program is free software; you can redistribute it and/or modify … … 64 64 "DELETE FROM vx_sched WHERE xid = %d;" 65 65 "DELETE FROM vx_uname WHERE xid = %d;" 66 "DELETE FROM xid_gid_map WHERE xid = %d;" 66 67 "DELETE FROM xid_name_map WHERE xid = %d;" 67 "DELETE FROM xid_uid_map WHERE xid = %d;" /* 1 5*/68 "DELETE FROM xid_uid_map WHERE xid = %d;" /* 16 */ 68 69 "COMMIT TRANSACTION;", 69 xid, xid, xid, xid, xid, xid, xid,
