]> andersk Git - moira.git/blame - clients/moira/delete.c
Added deactivate user; changed delete user to expunge user;
[moira.git] / clients / moira / delete.c
CommitLineData
402461ad 1#if (!defined(lint) && !defined(SABER))
08345b74 2 static char rcsid_module_c[] = "$Header$";
3#endif lint
4
0a2c64cb 5/* This is the file delete.c for the SMS Client, which allows a nieve
6 * user to quickly and easily maintain most parts of the SMS database.
08345b74 7 * It Contains: functions for deleting users and lists.
8 *
9 * Created: 5/18/88
10 * By: Chris D. Peterson
11 *
12 * $Source$
13 * $Author$
14 * $Header$
15 *
0a2c64cb 16 * Copyright 1988 by the Massachusetts Institute of Technology.
08345b74 17 *
18 * For further information on copyright and distribution
19 * see the file mit-copyright.h
20 */
21
08345b74 22#include <stdio.h>
23#include <strings.h>
24#include <sms.h>
25#include <menu.h>
26
461c03b6 27#include "mit-copyright.h"
0a2c64cb 28#include "defs.h"
29#include "f_defs.h"
461c03b6 30#include "globals.h"
31#include "infodefs.h"
32
08345b74 33/* Function Name: CheckListForDeletion
34 * Description: Check one of the lists in which we just removed a member.
35 * if the list is empty then it will delete it.
36 * Arguments: name - name of the list to check.
37 * verbose - verbose mode?
38 * Returns: none.
39 */
40
41void
42CheckListForDeletion(name, verbose)
43char * name;
44Bool verbose;
45{
461c03b6 46 struct qelem *elem = NULL;
075fe5bb 47 int status;
461c03b6 48 char *args[2], buf[BUFSIZ], **info;
08345b74 49
50 if ( (status = sms_query("count_members_of_list", 1, &name, StoreInfo,
51 (char *) &elem)) != 0) {
461c03b6 52 com_err(program_name, status,
53 " in DeleteList (count_members_of_list).");
54 return;
08345b74 55 }
461c03b6 56 info = (char **) elem->q_data;
0a2c64cb 57 if ( strcmp(info[NAME],"0") == 0) {
461c03b6 58 if (verbose) {
59 sprintf(buf, "Delete the empty list %s? ", name);
075fe5bb 60 if (YesNoQuestion(buf, FALSE) != TRUE) {
461c03b6 61 Put_message("Aborting Deletion!");
62 FreeQueue(elem);
63 return;
64 }
08345b74 65 }
461c03b6 66 args[0] = "foo"; /* not used. */
67 args[1] = name;
68 DeleteList(2, args);
08345b74 69 }
461c03b6 70 FreeQueue(elem);
08345b74 71}
72
075fe5bb 73/* Function Name: CheckAce
74 * Description: Checks an ace to see of we should delete it.
75 * Arguments: type - the type of this ace.
76 * name - the name of the ace.
08345b74 77 * verbose - query user?
78 * Returns: none.
79 */
80
81void
075fe5bb 82CheckAce(type, name, verbose)
08345b74 83char * type, *name;
84Bool verbose;
85{
86 char *args[2], buf[BUFSIZ];
075fe5bb 87 int status;
08345b74 88
461c03b6 89 if ( strcmp(type, "LIST") != 0 )
075fe5bb 90 return; /* If the ace is not a list the ignore it. */
08345b74 91
92 args[0] = type;
93 args[1] = name;
075fe5bb 94 status = sms_query("get_ace_use", 2, args, NullFunc, (char *) NULL);
08345b74 95 if (status != SMS_NO_MATCH)
075fe5bb 96 return; /* If this query fails the ace will
461c03b6 97 not be deleted even if it is empty. */
08345b74 98 if (verbose) {
0a2c64cb 99 sprintf(buf, "Delete the unused Access Control Entity (ACE) %s? ",
100 name);
075fe5bb 101 if ( YesNoQuestion(buf, FALSE) != TRUE) {
461c03b6 102 Put_message("Aborting Deletion!");
103 return;
104 }
08345b74 105 }
106/*
075fe5bb 107 * Delete the ACE.
08345b74 108 *
109 * NOTE: Delete list expects only the name of the list to delete in argv[1].
110 * since, 'args' already satisfies this, there is no need to create
111 * a special argument list.
112 */
113 DeleteList(2, args);
114}
115
116
075fe5bb 117/* Function Name: CheckIfAce
118 * Description: Checks to see if this is an ace of another data object.
08345b74 119 * Arguments: name - name of the object.
253517e2 120 * Returns: SUB_ERROR if this list is an ace, or if the query did not
08345b74 121 * succeed.
122 */
123
124int
075fe5bb 125CheckIfAce(name, type, verbose)
461c03b6 126char * name, * type;
08345b74 127Bool verbose;
128{
253517e2 129 char * args[2], buf[BUFSIZ], **info;
075fe5bb 130 struct qelem *local, *elem;
461c03b6 131 int status;
08345b74 132 elem = NULL;
133
134 args[0] = type;
135 args[1] = name;
075fe5bb 136 switch (status = sms_query("get_ace_use", 2, args,
137 StoreInfo, (char *) &elem)) {
138 case SMS_NO_MATCH:
139 return(DM_NORMAL);
140 case SMS_SUCCESS:
141 local = elem = QueueTop(elem);
253517e2 142 info = (char **) local->q_data;
143 if (QueueCount(elem) == 1 &&
144 !strcmp(info[0], "LIST") &&
145 !strcmp(info[1], name)) {
146 FreeQueue(elem);
147 return(DM_NORMAL);
148 }
075fe5bb 149 if (verbose) {
219bbe64 150 sprintf(buf, "%s %s %s", type, name,
151 "is the ACE for the following data objects:");
075fe5bb 152 Put_message(buf);
219bbe64 153 Put_message("");
075fe5bb 154 while (local != NULL) {
253517e2 155 info = (char **) local->q_data;
156 if (!strcmp(info[0], "LIST") &&
157 !strcmp(info[1], name))
158 continue;
159 print( countargs(info), info, null);
075fe5bb 160 local = local->q_forw;
161 }
253517e2 162 put_message("");
163 put_message(
164 "the ace for each of these items must be changed before");
075fe5bb 165 sprintf(buf,"the %s %s can be deleted.\n", type, name);
253517e2 166 put_message(buf);
08345b74 167 }
075fe5bb 168 break;
169 default:
253517e2 170 com_err(program_name, status, " in checkiface (get_ace_use).");
171 return(sub_error);
08345b74 172 }
253517e2 173 freequeue(elem);
174 return(sub_error);
08345b74 175}
176
253517e2 177/* function name: removeitemfromlists
178 * description: this function removes a list from all other lists of
08345b74 179 * which it is a member.
253517e2 180 * arguments: name - name of the item
181 * elem - a pointer to a queue element. returned
08345b74 182 * verbose - verbose mode.
253517e2 183 * returns: sub_error if there is an error.
08345b74 184 */
185
186int
253517e2 187removeitemfromlists(name, type, elem, verbose)
461c03b6 188char * name, *type;
189struct qelem ** elem;
08345b74 190int verbose;
191{
461c03b6 192 struct qelem *local;
253517e2 193 char *args[10], temp_buf[bufsiz];
0a2c64cb 194 int lists;
075fe5bb 195 register int status;
08345b74 196
197 args[0] = type;
198 args[1] = name;
253517e2 199 *elem = null;
08345b74 200
201/*
253517e2 202 * get all list of which this item is a member, and store them in a queue.
08345b74 203 */
204
253517e2 205 status = sms_query("get_lists_of_member", 2, args, storeinfo,
08345b74 206 (char *) elem);
207
253517e2 208 if (status == sms_no_match)
209 return(sub_normal);
08345b74 210
253517e2 211 if (status != sms_success) {
212 com_err(program_name, status, " in deletelist (get_lists_of_member).");
213 return(sub_error);
08345b74 214 }
215
216/*
253517e2 217 * if verbose mode, ask user of we should remove our list from
08345b74 218 * all these lists.
219 */
220
253517e2 221 local = *elem = queuetop(*elem);
222 lists = queuecount(*elem);
0a2c64cb 223 if (lists == 0)
253517e2 224 return(sub_normal);
08345b74 225 if (verbose) {
0a2c64cb 226 sprintf(temp_buf, "%s %s is a member of %d other list%s.\n", type,
227 name, lists, ((lists == 1) ? "" : "s") );
253517e2 228 put_message(temp_buf);
229 while (local != null) {
461c03b6 230 char ** info = (char **) local->q_data;
253517e2 231 print( 1, &info[glom_name], (char *) null);
08345b74 232 local = local->q_forw;
233 }
253517e2 234 put_message(" "); /* blank line. */
235 sprintf(temp_buf,"remove %s %s from these lists? ", type, name);
236 if (yesnoquestion(temp_buf, false) != true) {
237 put_message("aborting...");
238 freequeue(*elem);
239 *elem = null;
240 return(sub_error);
08345b74 241 }
242 }
243
244/*
253517e2 245 * remove this list from all lists that it is a member of.
08345b74 246 */
247
248 local = *elem;
253517e2 249 args[dm_member] = name;
250 args[dm_type] = type;
251 while (local != null) {
461c03b6 252 char ** info = (char **) local->q_data;
253517e2 253 args[dm_list] = info[glom_name];
08345b74 254 if ( (status = sms_query("delete_member_from_list",
253517e2 255 3, args, scream, null)) != 0) {
256 com_err(program_name, status, " in delete_member\naborting\n");
257 freequeue(*elem);
258 return(sub_error);
08345b74 259 }
260 local = local->q_forw;
261 }
253517e2 262 return(sub_normal);
08345b74 263}
264
253517e2 265/* function name: removemembersoflist
266 * description: deletes the members of the list.
267 * arguments: name - name of the list.
08345b74 268 * verbose - query user, about deletion?
253517e2 269 * returns: sub_error - if we could not delete, or the user abouted.
08345b74 270 */
271
272int
253517e2 273removemembersoflist(name, verbose)
08345b74 274char * name;
253517e2 275bool verbose;
08345b74 276{
253517e2 277 char buf[bufsiz], *args[10];
278 struct qelem *local, *elem = null;
0a2c64cb 279 int status, members;
08345b74 280/*
253517e2 281 * get the members of this list.
08345b74 282 */
253517e2 283 status = sms_query("get_members_of_list", 1, &name, storeinfo,
08345b74 284 (char *) &elem);
253517e2 285 if (status == sms_no_match)
286 return(sub_normal);
08345b74 287
288 if (status != 0) {
253517e2 289 com_err(program_name, status, " in deletelist (get_members_of_list).");
290 return(sub_error);
08345b74 291 }
08345b74 292/*
253517e2 293 * if verbose mode, then ask the user if we should delete.
08345b74 294 */
253517e2 295 local = elem = queuetop(elem);
296 if ( (members = queuecount(elem)) == 0)
297 return(sub_normal);
08345b74 298 if (verbose) {
253517e2 299 sprintf(buf, "list %s has %d member%s:", name, queuecount(elem),
0a2c64cb 300 ((members == 1) ? "" : "s") );
253517e2 301 put_message(buf);
302 put_message(" "); /* blank line. */
303 while (local != null) {
461c03b6 304 char ** info = (char **) local->q_data;
253517e2 305 print( countargs(info), info, null);
08345b74 306 local = local->q_forw;
307 }
253517e2 308 put_message(" "); /* blank line. */
309 sprintf(buf, "remove th%s member%s from list %s? ",
0a2c64cb 310 ((members == 1) ? "is" : "ese"),
219bbe64 311 ((members == 1) ? "" : "s"), name );
253517e2 312 if ( yesnoquestion(buf, false) != true) {
313 put_message("aborting...");
314 freequeue(elem);
315 return(sub_error);
08345b74 316 }
317 }
08345b74 318/*
253517e2 319 * perform the removal.
08345b74 320 */
08345b74 321 local = elem;
322 args[0] = name;
253517e2 323 while (local != null) {
461c03b6 324 char ** info = (char **) local->q_data;
08345b74 325 args[1] = info[0];
326 args[2] = info[1];
327 if ( (status = sms_query("delete_member_from_list",
253517e2 328 3, args, scream, null)) != 0) {
329 com_err(program_name, status, " in delete_member\naborting\n");
330 freequeue(elem);
331 return(sub_error);
08345b74 332 }
333 local = local->q_forw;
334 }
253517e2 335 return(sub_normal);
08345b74 336}
337
253517e2 338/* function name: deleteusergroup
339 * description: deletes the list given by name if it exists.
08345b74 340 * intended to be used to delete user groups
341 * Arguments: name - the name of the list to delete.
342 * verbose - flag that if TRUE queries the user to
343 * ask if list should be deleted.
344 * Returns: SMS_ERROR if there is an error.
345 */
346
347int
348DeleteUserGroup(name, verbose)
349char * name;
350Bool verbose;
351{
352 int status, ans;
461c03b6 353 char buf[BUFSIZ], *args[10];
08345b74 354
355 status = sms_query("get_list_info", 1, &name, NullFunc, (char *) NULL);
356 if (status == 0) {
357 if (verbose) {
358 sprintf(buf, "There is also a list named %s, delete it?", name);
075fe5bb 359 ans = YesNoQuestion(buf, FALSE);
08345b74 360 if (ans == FALSE) {
361 Put_message("Leaving group alone.");
461c03b6 362 return(SUB_NORMAL);
08345b74 363 }
364 if (ans < 0) {
365 Put_message("Aborting...\n");
366 return(SUB_ERROR);
367 }
368 }
369 /* ans == TRUE || ~verbose */
370 args[0] = "foo"; /* not used. */
371 args[1] = name;
372 DeleteList(2, args);
373 }
374 else if (status != SMS_NO_MATCH) {
461c03b6 375 com_err(program_name, status, " Aborting Delete User.");
08345b74 376 return(SUB_ERROR);
377 }
461c03b6 378 return(SUB_NORMAL);
08345b74 379}
380
381/* Function Name: DeleteHomeFilesys
382 * Description: Delete the home filesystem for the named user.
383 * Arguments: name - name of the user (and filsystem) to delete.
384 * verbose - if TRUE query user.
385 * Returns: SUB_NORMAL if home filesystem deleted, or nonexistant.
386 */
387
388int
389DeleteHomeFilesys(name, verbose)
390char * name;
391Bool verbose;
392{
075fe5bb 393 int status;
08345b74 394 char buf[BUFSIZ];
395
075fe5bb 396 switch (status = sms_query("get_filesys_by_label", 1, &name, NullFunc,
397 (char *) NULL)) {
398 case SMS_NO_MATCH:
399 break;
400 case SMS_SUCCESS:
08345b74 401 if (verbose) {
402 sprintf(buf, "Delete the filesystem named %s (y/n)?", name);
075fe5bb 403 switch (YesNoQuestion(buf, FALSE)) {
404 case FALSE:
405 Put_message("Filesystem Not Deleted, continuing...\n");
406 return(SUB_NORMAL);
407 case TRUE:
408 break;
409 default:
08345b74 410 Put_message("Filesystem Not Deleted, aborting...\n\n");
461c03b6 411 return(SUB_ERROR);
08345b74 412 }
413 }
075fe5bb 414 if ( (status = sms_query("delete_filesys", 1, &name, Scream,
415 (char *) NULL) ) != SMS_SUCCESS) {
416 com_err(program_name, status, " in delete_filesys.");
08345b74 417 return(SUB_ERROR);
418 }
075fe5bb 419 else
420 Put_message("Filesystem Successfully Deleted.");
421 break;
422 default:
423 com_err(program_name, status, " in get_filesystem_by_label).");
424 return(SUB_ERROR);
08345b74 425 }
075fe5bb 426 return(SUB_NORMAL);
08345b74 427}
428
075fe5bb 429/* Function Name: RealDeleteUser
430 * Description: Just Deletes the user.
431 * Arguments: name - name of User to delete
432 * Returns: SUB_ERROR if the deletion failed.
08345b74 433 */
434
075fe5bb 435static int
436RealDeleteUser(name)
08345b74 437char * name;
08345b74 438{
075fe5bb 439 char buf[BUFSIZ];
440 int status;
441
442 if ( (status = sms_query("delete_user", 1, &name, Scream,
443 (char *) NULL)) != SMS_SUCCESS) {
444 com_err(program_name, status, ": user not deleted");
08345b74 445 return(SUB_ERROR);
446 }
075fe5bb 447 (void) sprintf(buf, "User %s deleted.", name);
448 Put_message(buf);
08345b74 449 return(SUB_NORMAL);
450}
451
85ca828a 452/* Function Name: RealDeleteList
453 * Description: Just Deletes the list.
454 * Arguments: name - name of list to delete
455 * Returns: SUB_ERROR if the deletion failed.
08345b74 456 */
457
85ca828a 458static int
459RealDeleteList(name)
460char * name;
08345b74 461{
85ca828a 462 char buf[BUFSIZ];
461c03b6 463 int status;
08345b74 464
85ca828a 465 if ( (status = sms_query("delete_list", 1, &name, Scream,
466 (char *) NULL)) != SMS_SUCCESS) {
467 com_err(program_name, status, ": list not deleted");
468 return(SUB_ERROR);
08345b74 469 }
402461ad 470 (void) sprintf(buf, "List %s deleted.", name);
85ca828a 471 Put_message(buf);
402461ad 472 Put_message("");
85ca828a 473 return(SUB_NORMAL);
474}
08345b74 475
85ca828a 476/* Function Name: AttemptToDeleteList
477 * Description: Atempts to delete list, in the following manner:
478 * 1) try to delet it, if this fails in a known error then
479 * a) try to clean up each of those known methods, or
480 * at least explain why we failed.
402461ad 481 * Arguments: list_info - info about this list.
85ca828a 482 * ask_first - (T/F) query user before preparing for deletion,
483 * and cleaning up?
484 * Returns: none - all is taken care of and error messages printed
485 * one way or the other.
08345b74 486 */
487
85ca828a 488void
402461ad 489AttemptToDeleteList(list_info, ask_first)
490char ** list_info;
85ca828a 491Bool ask_first;
492{
493 int status;
402461ad 494 struct qelem *local, *member_of;
495 char *name = list_info[L_NAME];
496 member_of = NULL;
85ca828a 497
498 /*
499 * Attempt delete. - will only work if:
500 * 1) This list has no members.
501 * 2) This list in a member of no other lists.
075fe5bb 502 * 3) This list is not an ace of another object.
85ca828a 503 */
504
505 switch (status = sms_query("delete_list", 1, &name,
506 Scream, (char *) NULL)) {
507 case SMS_SUCCESS:
08345b74 508 Put_message("List Sucessfully Deleted.");
0a2c64cb 509 CheckAce(list_info[L_ACE_TYPE], list_info[L_ACE_NAME], ask_first);
85ca828a 510 break;
511 case SMS_IN_USE:
512 /*
513 * This list is in use. Try to find out why,
514 * and for the cases where we have a good idea of
515 * what to do we will query and then do it.
516 */
517
075fe5bb 518 if ( (CheckIfAce(name, "list", ask_first) == SUB_NORMAL) &&
402461ad 519 (RemoveMembersOfList(name, ask_first) == SUB_NORMAL) &&
85ca828a 520 (RemoveItemFromLists(name, "list",
521 &member_of, ask_first) == SUB_NORMAL) &&
85ca828a 522 (RealDeleteList(name) == SUB_NORMAL) )
523 { /* if... */
075fe5bb 524 CheckAce(list_info[L_ACE_TYPE], list_info[L_ACE_NAME], ask_first);
08345b74 525
0a2c64cb 526 local = QueueTop(member_of);
85ca828a 527 while (local != NULL) {
402461ad 528 char ** info = (char **) local->q_data;
85ca828a 529 CheckListForDeletion(info[LM_LIST], ask_first);
530 local = local->q_forw;
531 }
402461ad 532 FreeQueue(member_of);
08345b74 533 }
85ca828a 534 break;
535 default:
536 com_err(program_name, status, " in DeleteList (delete_list).");
537 break;
08345b74 538 }
08345b74 539}
540
85ca828a 541/* Function Name: DeleteList
542 * Description: deletes a list
543 * Arguments: argc, argv - standard SMS argc and argv.
544 * Returns: DM Status Code.
08345b74 545 */
546
85ca828a 547/* ARGSUSED */
548int
549DeleteList(argc, argv)
550int argc;
551char *argv[];
08345b74 552{
553 char buf[BUFSIZ];
85ca828a 554 struct qelem *top, *list;
555 register int status;
556 Bool one_list;
08345b74 557
85ca828a 558 list = NULL;
559
253517e2 560 switch(status = sms_query("get_list_info", 1, argv + 1, StoreInfo,
561 (char *) &list)){
85ca828a 562 case SMS_SUCCESS:
563 break;
564/* case SMS_NO_WILDCARD:
565 Put_message("Wildcards are not accepted here.");
566 return(DM_NORMAL);
567*/ case SMS_NO_MATCH:
568 case SMS_LIST:
402461ad 569 Put_message("There is no list that matches that name.");
85ca828a 570 return(DM_NORMAL);
571 default:
572 com_err(program_name, status, " in DeleteList (get_list_info).");
573 return(DM_NORMAL);
08345b74 574 }
85ca828a 575
576 top = list = QueueTop(list);
577 one_list = (QueueCount(list) == 1);
578 while (list != NULL) {
579 char ** info = (char**) list->q_data;
580 if (one_list) {
402461ad 581 sprintf( buf, "Are you sure that you want to delete the list %s",
582 info[L_NAME]);
583 if ( Confirm(buf) ) AttemptToDeleteList(info, TRUE);
85ca828a 584 }
585 else {
586 sprintf(buf, "Delete the list %s", info[L_NAME]);
587 switch( YesNoQuestion( buf, FALSE ) ) {
588 case TRUE:
402461ad 589 AttemptToDeleteList(info, TRUE);
85ca828a 590 break;
591 case FALSE:
592 break;
593 default:
594 Put_message ("Aborting...");
595 FreeQueue(top);
596 return(DM_NORMAL);
597 }
598 }
599 list = list->q_forw;
600 }
601 FreeQueue(top);
602 return(DM_NORMAL);
08345b74 603}
604
605/* Function Name: DeleteUser
606 * Description: Deletes a user from the database.
607 * Arguments: argc, argv - name of the user in argv[1].
608 * Returns: DM_NORMAL.
609 */
610
85ca828a 611/* ARGSUSED */
08345b74 612int
613DeleteUser(argc, argv)
614int argc;
615char ** argv;
616{
617 int status;
618 char buf[BUFSIZ];
619 char * name = argv[1]; /* name of the user we are deleting. */
461c03b6 620 struct qelem *local, *member_of = NULL;
08345b74 621
075fe5bb 622 if (!ValidName(name))
623 return(DM_NORMAL);
624
08345b74 625 if (!Confirm("Are you sure that you want to delete this user?"))
626 return(DM_NORMAL);
627
461c03b6 628 status = sms_query("delete_user", 1, &name, Scream, (char *) NULL);
08345b74 629 if (status != SMS_IN_USE && status != 0) {
253517e2 630 com_err(program_name, status, ": user not deleted");
08345b74 631 return(DM_NORMAL);
632 }
633 if (status == 0) {
634 sprintf(buf,"User %s deleted.", name);
635 Put_message(buf);
636 }
253517e2 637
638/* By design decision, if a user has been registered, we will not
639 * delete them. So if the simple delete fails, give up.
640 */
641 Put_message("Sorry, registered users cannot be deleted.");
642
643#ifdef notdef
08345b74 644 else if (status == SMS_IN_USE) {
645
646/*
647 * Check:
075fe5bb 648 * 1) Query - Delete home filesytem.
649 * 2) Query - Delete user Group.
650 * 2) Is the user an ACE of any object in the database?
651 * 3) Query - Remove user from all list of which he is a member.
08345b74 652 *
653 * If all these have been accomplished, then attempt to delete the user again.
654 */
075fe5bb 655 if ( (DeleteHomeFilesys(name, TRUE) == SUB_ERROR) ||
656 (DeleteUserGroup(name, TRUE) == SUB_ERROR) ||
657 (CheckIfAce(name, "user", TRUE) == SUB_ERROR) ||
08345b74 658 (RemoveItemFromLists(name, "user",
659 &member_of, TRUE) == SUB_ERROR) ||
660 (RealDeleteUser(name) == SUB_ERROR) ) {
08345b74 661 return(DM_NORMAL);
662 }
663 }
664
665/*
08345b74 666 * Query - Delete all empty lists created by removing this user from them.
667 */
668
08345b74 669 local = member_of;
670 while (local != NULL) {
461c03b6 671 char ** info = (char **) local->q_data;
08345b74 672 CheckListForDeletion(info[0], TRUE);
461c03b6 673 local = local->q_forw;
08345b74 674 }
675
676 FreeQueue(member_of); /* Free memory and return. */
253517e2 677#endif
08345b74 678 return(DM_NORMAL);
679}
08345b74 680
681/*
682 * Local Variables:
683 * mode: c
684 * c-indent-level: 4
685 * c-continued-statement-offset: 4
686 * c-brace-offset: -4
687 * c-argdecl-indent: 4
688 * c-label-offset: -4
689 * End:
690 */
This page took 1.418052 seconds and 5 git commands to generate.