1 //LRN extension for return values for prototypes
5 //-nbad -bap -nbc -bbo -bl -bli2 -bls -ncdb -nce -cp1 -cs -di2
6 //-ndj -nfc1 -nfca -hnl -i2 -ip5 -lp -pcs -nprs -psl -saf -sai
12 // bar = strdup ("whe-e-e");
17 // bar = strdup ("whe-e-e");
19 // Broken in indent-2.2.10
20 --blank-lines-after-declarations
21 //--no-blank-lines-after-declarations
39 --blank-lines-after-procedures
50 // WARNING: tends to turn commented-out code chunks into star-walled comment blocks
51 --start-left-side-of-comments
61 --braces-after-if-line
94 --dont-cuddle-do-while
128 // Yes, it looks wrong. However, braces inside cases should not be used like this anyway.
129 --case-brace-indentation0
132 // for (i = 0; foobar(i); i++);
134 // for (i = 0; foobar(i); i++) ;
136 --space-special-semicolon
143 --space-after-procedure-calls
147 // (my_custom_type_that_was_not_passed_with_T_argument_see_below *)bar;
150 // (my_custom_type_that_was_not_passed_with_T_argument_see_below *)bar;
183 // if ( foo ( a > b ) | ( bar ( baz ) ) )
185 // if (foo (a > b) | (bar (baz)))
187 --no-space-after-parentheses
196 --declaration-indentation0
205 --no-blank-lines-after-commas
208 // int foo (int bar, char *baz, long wheee, intptr_t zool);
216 --break-function-decl-args
232 --dont-break-function-decl-args-end
240 --procnames-start-lines
243 // struct foo { int a; };
250 --braces-after-struct-decl-line
262 --braces-after-func-def-line
297 // boom = foo (bar) - baz +
299 // rules = power (mono, mwahahahahahahahaahahahahahahahahahahhahahahahaha,
302 // boom = foo (bar) - baz +
304 // rules = power (mono, mwahahahahahahahaahahahahahahahahahahhahahahahaha,
307 --continuation-indentation4
310 // rules = power (mono, mwahahahahahahahaahahahahahahahahahahhahahahahaha,
313 // rules = power (mono, mwahahahahahahahaahahahahahahahahahahhahahahahaha,
316 --continue-at-parentheses
317 //--dont-line-up-parentheses
320 // while ((((i < 2 &&
321 // k > 0) || p == 0) &&
325 // while ((((i < 2 &&
326 // k > 0) || p == 0) &&
334 // create_world (x, y, scale)
343 // create_world (x, y, scale)
351 --parameter-indentation2
354 // if (longlonglonglonglonglonglong
355 // <tab character>short)
357 // if (longlonglonglonglonglonglong
365 // #define WHEE GNUNET_NO
367 // #define WHEE GNUNET_YES
373 // # define WHEE GNUNET_NO
375 // # define WHEE GNUNET_YES
379 --preprocessor-indentation0
415 // line-longer-than-80-chars /* some comment, not counted */
417 // 80-chars-long-line /* some comment, not counted */
423 // /* comment-line-longer-than-80-chars */
425 // /* 80-chars-long-comment-line
426 // rest-of-the-line */
428 --comment-line-length80
432 // && ((mask[0] == '\0')
433 // || (mask[1] == '\0'
434 // && ((mask[0] == '0') || (mask[0] == '*')))))
437 // ((mask[0] == '\0') ||
438 // (mask[1] == '\0' &&
439 // ((mask[0] == '0') || (mask[0] == '*')))))
441 --break-after-boolean-operator
445 // && ((mask[0] == '\0')
446 // || (mask[1] == '\0' && ((mask[0] == '0') || (mask[0] == '*')))))
448 // if (mask /* this newline is preserved, override it with --ignore-newlines */
449 // && ((mask[0] == '\0')
450 // || (mask[1] == '\0' &&
451 // ((mask[0] == '0') || (mask[0] == '*')))))
453 // For now just keep ignoring. After everything settles down, we might want to start putting custom newlines where it is appropriate
459 // Also add a list of typedefed types here, like this:
460 // -T <typedefedtype1>
461 // -T <typedefedtype2>
463 // typedef int typedefedtype1;
464 // typedef char *typedefedtype2;
465 // The following is obtained by running a Python script i wrote on src subdir:
466 -T GNUNET_MysqlDataProcessor
467 -T GNUNET_DHT_MessageReceivedHandler
468 -T DHTLOG_MESSAGE_TYPES
469 -T GNUNET_MysqlDataProcessor
470 -T GNUNET_DV_MessageReceivedHandler
471 -T p2p_dv_MESSAGE_NeighborInfo
472 -T p2p_dv_MESSAGE_Data
473 -T p2p_dv_MESSAGE_Disconnect
474 -T GNUNET_FS_QueueStart
475 -T GNUNET_FS_QueueStop
476 -T SuspendSignalFunction
477 -T GNUNET_FS_TEST_UriContinuation
478 -T GNUNET_FS_TreeBlockProcessor
479 -T GNUNET_FS_TreeProgressCallback
480 -T GSF_ConnectedPeerIterator
481 -T GSF_GetMessageCallback
482 -T GSF_PeerReserveCallback
483 -T GSF_PendingRequestReplyHandler
484 -T GSF_PendingRequestIterator
485 -T GSF_LocalLookupContinuation
486 -T GNUNET_ARM_Callback
487 -T GNUNET_TRANSPORT_ATS_AllocationNotification
488 -T GNUNET_ATS_AddressSuggestionCallback
489 -T GNUNET_BLOCK_GetKeyFunction
490 -T GNUNET_CHAT_JoinCallback
491 -T GNUNET_CHAT_MessageCallback
492 -T GNUNET_CHAT_MemberListCallback
493 -T GNUNET_CHAT_MessageConfirmation
494 -T GNUNET_CHAT_RoomIterator
495 -T GNUNET_CLIENT_MessageHandler
496 -T GNUNET_CLIENT_ShutdownTask
497 -T GNUNET_FileNameCallback
498 -T GNUNET_CONFIGURATION_Iterator
499 -T GNUNET_CONFIGURATION_Section_Iterator
500 -T GNUNET_CONNECTION_AccessCheck
501 -T GNUNET_CONNECTION_Receiver
502 -T GNUNET_CONNECTION_TransmitReadyNotify
503 -T GNUNET_HashCodeIterator
504 -T GNUNET_CONTAINER_HashMapIterator
505 -T GNUNET_CONTAINER_HeapCostType
506 -T GNUNET_CONTAINER_HeapIterator
507 -T GNUNET_CORE_ConnectEventHandler
508 -T GNUNET_CORE_PeerStatusEventHandler
509 -T GNUNET_CORE_DisconnectEventHandler
510 -T GNUNET_CORE_MessageCallback
511 -T GNUNET_CORE_StartupCallback
512 -T GNUNET_CORE_ControlContinuation
513 -T GNUNET_CORE_PeerConfigurationInfoCallback
514 -T GNUNET_CRYPTO_HashCompletedCallback
515 -T GNUNET_DATACACHE_Iterator
516 -T GNUNET_DATACACHE_DeleteNotifyCallback
517 -T DiskUtilizationChange
518 -T PluginDatumProcessor
520 -T GNUNET_DATASTORE_ContinuationWithStatus
521 -T GNUNET_DATASTORE_DatumProcessor
522 -T GNUNET_DHT_GetIterator
523 -T GNUNET_DHT_FindPeerProcessor
524 -T GNUNET_DHT_ReplyProcessor
525 -T GNUNET_DISK_DirectoryIteratorCallback
526 -T GNUNET_FRAGMENT_MessageProcessor
527 -T GNUNET_DEFRAGMENT_AckProcessor
528 -T GNUNET_FS_KeywordIterator
529 -T GNUNET_FS_ProgressCallback
530 -T GNUNET_FS_FileInformationProcessor
531 -T GNUNET_FS_DataReader
532 -T GNUNET_FS_FileProcessor
533 -T GNUNET_FS_DirectoryScanner
534 -T GNUNET_FS_PublishContinuation
535 -T GNUNET_FS_IndexedFileProcessor
536 -T GNUNET_FS_NamespaceInfoProcessor
537 -T GNUNET_FS_IdentifierProcessor
538 -T GNUNET_FS_DirectoryEntryProcessor
539 -T GNUNET_HELLO_GenerateAddressListCallback
540 -T GNUNET_HELLO_AddressIterator
541 -T GNUNET_MESH_MessageCallback
542 -T GNUNET_MESH_TunnelEndHandler
543 -T GNUNET_MESH_ApplicationType
544 -T GNUNET_MESH_TunnelDisconnectHandler
545 -T GNUNET_MESH_TunnelConnectHandler
546 -T GNUNET_MESH_MessageCallback
547 -T GNUNET_MESH_TunnelEndHandler
548 -T GNUNET_MESH_ApplicationType
549 -T GNUNET_MESH_TunnelDisconnectHandler
550 -T GNUNET_MESH_TunnelConnectHandler
551 -T GNUNET_NAT_AddressCallback
552 -T GNUNET_NAT_ReversalCallback
553 -T GNUNET_NAT_TestCallback
554 -T GNUNET_NSE_Callback
555 -T GNUNET_OS_NetworkInterfaceProcessor
556 -T GNUNET_OS_LineProcessor
557 -T GNUNET_PEERINFO_Processor
559 -T GNUNET_PLUGIN_Callback
560 -T GNUNET_PROGRAM_Main
561 -T GNUNET_PSEUDONYM_Iterator
562 -T GNUNET_RESOLVER_AddressCallback
563 -T GNUNET_RESOLVER_HostnameCallback
564 -T GNUNET_SCHEDULER_TaskIdentifier
565 -T GNUNET_SCHEDULER_Task
566 -T GNUNET_SCHEDULER_select
567 -T GNUNET_SERVER_MessageCallback
568 -T GNUNET_SERVER_DisconnectCallback
569 -T GNUNET_SERVER_MessageTokenizerCallback
570 -T GNUNET_SERVICE_Main
571 -T GNUNET_SIGNAL_Handler
572 -T GNUNET_STATISTICS_Iterator
573 -T GNUNET_STATISTICS_Callback
574 -T GNUNET_TESTING_NotifyHostkeyCreated
575 -T GNUNET_TESTING_NotifyDaemonRunning
576 -T GNUNET_TESTING_NotifyCompletion
577 -T GNUNET_TESTING_NotifyConnections
578 -T GNUNET_TESTING_NotifyConnection
579 -T GNUNET_TESTING_NotifyTopology
580 -T GNUNET_TESTING_STATISTICS_Iterator
581 -T GNUNET_TRANSPORT_SessionEnd
582 -T GNUNET_TRANSPORT_AddressNotification
583 -T GNUNET_TRANSPORT_TransmitContinuation
584 -T GNUNET_TRANSPORT_TransmitFunction
585 -T GNUNET_TRANSPORT_DisconnectFunction
586 -T GNUNET_TRANSPORT_AddressStringCallback
587 -T GNUNET_TRANSPORT_AddressPrettyPrinter
588 -T GNUNET_TRANSPORT_CheckAddress
589 -T GNUNET_TRANSPORT_AddressToString
590 -T GNUNET_TRANSPORT_ReceiveCallback
591 -T GNUNET_TRANSPORT_NotifyConnect
592 -T GNUNET_TRANSPORT_NotifyDisconnect
593 -T GNUNET_TRANSPORT_AddressLookUpCallback
594 -T GNUNET_TRANSPORT_HelloUpdateCallback
595 -T GNUNET_TRANSPORT_BlacklistCallback
597 -T SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
598 -T PLIBC_SEARCH__compar_fn_t
599 -T _win_comparison_fn_t
600 -T PLIBC_SEARCH_ACTION
601 -T PLIBC_SEARCH_VISIT
602 -T PLIBC_SEARCH__action_fn_t
603 -T PLIBC_SEARCH__free_fn_t
605 -T TransmissionContinuation
606 -T GNUNET_TESTING_ConnectionProcessor
611 -T GNUNET_TRANSPORT_ATS_AddressNotification
612 -T GNUNET_TRANSPORT_ATS_ResultCallback
613 -T GST_BlacklistTestContinuation
615 -T GST_NeighbourSendContinuation
616 -T GST_NeighbourIterator
617 -T GST_ValidationAddressCallback
624 -T GNUNET_TRANSPORT_TESTING_connect_cb
625 -T ieee80211_mgt_beacon_t
626 -T ieee80211_mgt_auth_t
634 -T MyNSGetExecutablePathProto