aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-11-11 13:52:45 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-11-11 13:52:45 -0900
commitb498650ba3c8076f98f408ff9fe51d5a3a50bf33 (patch)
treeb426e24ce19396eb70580e2df5cdf589e5e8113e
parent023975e760a09e00cb0e5fd131255a0f7b6d676c (diff)
downloadbindletools-b498650ba3c8076f98f408ff9fe51d5a3a50bf33.tar.gz
bindletools-b498650ba3c8076f98f408ff9fe51d5a3a50bf33.tar.bz2
bindletools-b498650ba3c8076f98f408ff9fe51d5a3a50bf33.tar.xz
bindletools-b498650ba3c8076f98f408ff9fe51d5a3a50bf33.zip
libbindle: replacing '#pragma mark' with '// MARK:'
-rw-r--r--include/bindle.h36
-rw-r--r--lib/libbindle/larray.c12
-rw-r--r--lib/libbindle/larray.h2
-rw-r--r--lib/libbindle/ldebug.c8
-rw-r--r--lib/libbindle/ldebug.h8
-rw-r--r--lib/libbindle/lencoding.c42
-rw-r--r--lib/libbindle/lencoding.h2
-rw-r--r--lib/libbindle/lfile.c8
-rw-r--r--lib/libbindle/lfile.h8
-rw-r--r--lib/libbindle/libbindle.h12
-rw-r--r--lib/libbindle/lmap.c4
-rw-r--r--lib/libbindle/lmap.h2
-rw-r--r--lib/libbindle/lobj.c8
-rw-r--r--lib/libbindle/lobj.h2
-rw-r--r--lib/libbindle/loptions.c8
-rw-r--r--lib/libbindle/loptions.h2
-rw-r--r--lib/libbindle/lprompt.c4
-rw-r--r--lib/libbindle/lprompt.h2
-rw-r--r--lib/libbindle/lstring.c8
-rw-r--r--lib/libbindle/lstring.h2
-rw-r--r--lib/libbindle/lstrings.c8
-rw-r--r--lib/libbindle/lstrings.h2
-rw-r--r--lib/libbindle/lurl.c10
-rw-r--r--lib/libbindle/lurl.h2
-rw-r--r--lib/libbindle/lutf8.c8
-rw-r--r--lib/libbindle/lutf8.h2
26 files changed, 106 insertions, 106 deletions
diff --git a/include/bindle.h b/include/bindle.h
index 31d850b..693e05c 100644
--- a/include/bindle.h
+++ b/include/bindle.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stddef.h> 42#include <stddef.h>
43#include <inttypes.h> 43#include <inttypes.h>
@@ -50,7 +50,7 @@
50// Macros // 50// Macros //
51// // 51// //
52////////////// 52//////////////
53#pragma mark - Macros 53// MARK: - Macros
54 54
55// Exports function type 55// Exports function type
56#undef BINDLE_C_DECLS 56#undef BINDLE_C_DECLS
@@ -96,7 +96,7 @@
96// Definitions // 96// Definitions //
97// // 97// //
98/////////////////// 98///////////////////
99#pragma mark - Definitions 99// MARK: - Definitions
100 100
101#define BNDL_SUCCESS 0 101#define BNDL_SUCCESS 0
102#define BNDL_OFF 0 102#define BNDL_OFF 0
@@ -154,7 +154,7 @@
154// Data Types // 154// Data Types //
155// // 155// //
156////////////////// 156//////////////////
157#pragma mark - Data Types 157// MARK: - Data Types
158 158
159typedef struct _bindle_map 159typedef struct _bindle_map
160{ 160{
@@ -193,7 +193,7 @@ typedef struct bindle_url_desc
193// Variables // 193// Variables //
194// // 194// //
195///////////////// 195/////////////////
196#pragma mark - Variables 196// MARK: - Variables
197 197
198 198
199////////////////// 199//////////////////
@@ -201,12 +201,12 @@ typedef struct bindle_url_desc
201// Prototypes // 201// Prototypes //
202// // 202// //
203////////////////// 203//////////////////
204#pragma mark - Prototypes 204// MARK: - Prototypes
205 205
206//------------------// 206//------------------//
207// array prototypes // 207// array prototypes //
208//------------------// 208//------------------//
209#pragma mark array prototypes 209// MARK: array prototypes
210 210
211_BINDLE_F ssize_t 211_BINDLE_F ssize_t
212bindle_badd( 212bindle_badd(
@@ -293,7 +293,7 @@ bindle_push(
293//------------------// 293//------------------//
294// debug prototypes // 294// debug prototypes //
295//------------------// 295//------------------//
296#pragma mark debug prototypes 296// MARK: debug prototypes
297 297
298_BINDLE_F void 298_BINDLE_F void
299bindle_debug( 299bindle_debug(
@@ -305,7 +305,7 @@ bindle_debug(
305//---------------------// 305//---------------------//
306// encoding prototypes // 306// encoding prototypes //
307//---------------------// 307//---------------------//
308#pragma mark encoding prototypes 308// MARK: encoding prototypes
309 309
310_BINDLE_F ssize_t 310_BINDLE_F ssize_t
311bindle_decode( 311bindle_decode(
@@ -354,7 +354,7 @@ bindle_encoding_verify(
354//-----------------// 354//-----------------//
355// file prototypes // 355// file prototypes //
356//-----------------// 356//-----------------//
357#pragma mark file prototypes 357// MARK: file prototypes
358 358
359_BINDLE_F int 359_BINDLE_F int
360bindle_filetostr( 360bindle_filetostr(
@@ -373,7 +373,7 @@ bindle_readline(
373//----------------// 373//----------------//
374// map prototypes // 374// map prototypes //
375//----------------// 375//----------------//
376#pragma mark map prototypes 376// MARK: map prototypes
377 377
378_BINDLE_F int 378_BINDLE_F int
379bindle_map_lookup( 379bindle_map_lookup(
@@ -400,7 +400,7 @@ bindle_map_lookup_value(
400//-------------------// 400//-------------------//
401// object prototypes // 401// object prototypes //
402//-------------------// 402//-------------------//
403#pragma mark object prototypes 403// MARK: object prototypes
404 404
405_BINDLE_F void * 405_BINDLE_F void *
406bindle_alloc( 406bindle_alloc(
@@ -437,7 +437,7 @@ bindle_retain_count(
437//-------------------// 437//-------------------//
438// option prototypes // 438// option prototypes //
439//-------------------// 439//-------------------//
440#pragma mark option prototypes 440// MARK: option prototypes
441 441
442_BINDLE_F int 442_BINDLE_F int
443bindle_get_option( 443bindle_get_option(
@@ -456,7 +456,7 @@ bindle_set_option(
456//------------------------// 456//------------------------//
457// user prompt prototypes // 457// user prompt prototypes //
458//------------------------// 458//------------------------//
459#pragma mark user prompt prototypes 459// MARK: user prompt prototypes
460 460
461char * 461char *
462bindle_getpass( 462bindle_getpass(
@@ -473,7 +473,7 @@ bindle_getpass_r(
473//-------------------// 473//-------------------//
474// string prototypes // 474// string prototypes //
475//-------------------// 475//-------------------//
476#pragma mark string prototypes 476// MARK: string prototypes
477 477
478_BINDLE_F char * 478_BINDLE_F char *
479bindle_basename( 479bindle_basename(
@@ -565,7 +565,7 @@ bindle_strtrim(
565//-------------------------// 565//-------------------------//
566// string array prototypes // 566// string array prototypes //
567//-------------------------// 567//-------------------------//
568#pragma mark string array prototypes 568// MARK: string array prototypes
569 569
570_BINDLE_F int 570_BINDLE_F int
571bindle_strsadd( 571bindle_strsadd(
@@ -600,7 +600,7 @@ bindle_strsplit(
600//----------------// 600//----------------//
601// URI prototypes // 601// URI prototypes //
602//----------------// 602//----------------//
603#pragma mark URI prototypes 603// MARK: URI prototypes
604 604
605_BINDLE_F int 605_BINDLE_F int
606bindle_is_url( 606bindle_is_url(
@@ -633,7 +633,7 @@ bindle_urldesc_resolve(
633//-----------------// 633//-----------------//
634// UTF8 prototypes // 634// UTF8 prototypes //
635//-----------------// 635//-----------------//
636#pragma mark UTF8 prototypes 636// MARK: UTF8 prototypes
637 637
638_BINDLE_F size_t 638_BINDLE_F size_t
639bindle_utf8len( 639bindle_utf8len(
diff --git a/lib/libbindle/larray.c b/lib/libbindle/larray.c
index 2b7be5e..6a30459 100644
--- a/lib/libbindle/larray.c
+++ b/lib/libbindle/larray.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -49,7 +49,7 @@
49// Prototypes // 49// Prototypes //
50// // 50// //
51////////////////// 51//////////////////
52#pragma mark - Prototypes 52// MARK: - Prototypes
53 53
54 54
55///////////////// 55/////////////////
@@ -57,12 +57,12 @@
57// Functions // 57// Functions //
58// // 58// //
59///////////////// 59/////////////////
60#pragma mark - Functions 60// MARK: - Functions
61 61
62//-------------------------// 62//-------------------------//
63// sorted array prototypes // 63// sorted array prototypes //
64//-------------------------// 64//-------------------------//
65#pragma mark sorted array prototypes 65// MARK: sorted array prototypes
66 66
67ssize_t 67ssize_t
68bindle_badd( 68bindle_badd(
@@ -320,7 +320,7 @@ bindle_bsearch(
320//------------------------// 320//------------------------//
321// queue array prototypes // 321// queue array prototypes //
322//------------------------// 322//------------------------//
323#pragma mark queue array prototypes 323// MARK: queue array prototypes
324 324
325void * 325void *
326bindle_dequeue( 326bindle_dequeue(
@@ -390,7 +390,7 @@ bindle_enqueue(
390//------------------------// 390//------------------------//
391// stack array prototypes // 391// stack array prototypes //
392//------------------------// 392//------------------------//
393#pragma mark stack prototypes 393// MARK: stack prototypes
394 394
395void * 395void *
396bindle_peek( 396bindle_peek(
diff --git a/lib/libbindle/larray.h b/lib/libbindle/larray.h
index cac4ed1..e848af2 100644
--- a/lib/libbindle/larray.h
+++ b/lib/libbindle/larray.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/ldebug.c b/lib/libbindle/ldebug.c
index 9a8c07a..5c3c557 100644
--- a/lib/libbindle/ldebug.c
+++ b/lib/libbindle/ldebug.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#undef NDEBUG 42#undef NDEBUG
43 43
@@ -55,7 +55,7 @@
55// Definitions // 55// Definitions //
56// // 56// //
57/////////////////// 57///////////////////
58#pragma mark - Definitions 58// MARK: - Definitions
59 59
60 60
61///////////////// 61/////////////////
@@ -63,7 +63,7 @@
63// Variables // 63// Variables //
64// // 64// //
65///////////////// 65/////////////////
66#pragma mark - Variables 66// MARK: - Variables
67 67
68// yes, global variables are evil... 68// yes, global variables are evil...
69const char * bindle_debug_ident = BNDL_DFLT_DEBUG_IDENT; 69const char * bindle_debug_ident = BNDL_DFLT_DEBUG_IDENT;
@@ -77,7 +77,7 @@ int bindle_debug_syslog = BNDL_DFLT_DEBUG_SYSLOG;
77// Functions // 77// Functions //
78// // 78// //
79///////////////// 79/////////////////
80#pragma mark - Functions 80// MARK: - Functions
81 81
82void 82void
83bindle_debug( 83bindle_debug(
diff --git a/lib/libbindle/ldebug.h b/lib/libbindle/ldebug.h
index 4297cf5..4de0547 100644
--- a/lib/libbindle/ldebug.h
+++ b/lib/libbindle/ldebug.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
@@ -52,7 +52,7 @@
52// Definitions // 52// Definitions //
53// // 53// //
54/////////////////// 54///////////////////
55#pragma mark - Definitions 55// MARK: - Definitions
56 56
57 57
58 58
@@ -61,7 +61,7 @@
61// Variables // 61// Variables //
62// // 62// //
63///////////////// 63/////////////////
64#pragma mark - Variables 64// MARK: - Variables
65 65
66_BINDLE_V const char * 66_BINDLE_V const char *
67bindle_debug_ident; 67bindle_debug_ident;
@@ -84,7 +84,7 @@ bindle_debug_syslog;
84// Prototypes // 84// Prototypes //
85// // 85// //
86////////////////// 86//////////////////
87#pragma mark - Prototypes 87// MARK: - Prototypes
88 88
89 89
90#endif /* end of header */ 90#endif /* end of header */
diff --git a/lib/libbindle/lencoding.c b/lib/libbindle/lencoding.c
index 8a3cc25..870bfbf 100644
--- a/lib/libbindle/lencoding.c
+++ b/lib/libbindle/lencoding.c
@@ -36,7 +36,7 @@
36// Headers // 36// Headers //
37// // 37// //
38/////////////// 38///////////////
39#pragma mark - Headers 39// MARK: - Headers
40 40
41#include <errno.h> 41#include <errno.h>
42#include <stdarg.h> 42#include <stdarg.h>
@@ -53,7 +53,7 @@
53// Prototypes // 53// Prototypes //
54// // 54// //
55////////////////// 55//////////////////
56#pragma mark - Prototypes 56// MARK: - Prototypes
57 57
58static ssize_t 58static ssize_t
59bindle_base32_decode( 59bindle_base32_decode(
@@ -186,9 +186,9 @@ bindle_pctenc_verify(
186// Variables // 186// Variables //
187// // 187// //
188///////////////// 188/////////////////
189#pragma mark - Variables 189// MARK: - Variables
190 190
191#pragma mark base32_vals[] 191// MARK: base32_vals[]
192static const int8_t base32_vals[256] = 192static const int8_t base32_vals[256] =
193{ 193{
194// This map cheats and interprets: 194// This map cheats and interprets:
@@ -213,11 +213,11 @@ static const int8_t base32_vals[256] =
213 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 213 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0
214 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 214 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0
215}; 215};
216#pragma mark base32_chars[] 216// MARK: base32_chars[]
217static const char * base32_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="; 217static const char * base32_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=";
218 218
219 219
220#pragma mark base32hex_vals[] 220// MARK: base32hex_vals[]
221static const int8_t base32hex_vals[256] = 221static const int8_t base32hex_vals[256] =
222{ 222{
223// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 223// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
@@ -238,11 +238,11 @@ static const int8_t base32hex_vals[256] =
238 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 238 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0
239 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 239 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0
240}; 240};
241#pragma mark base32hex_chars[] 241// MARK: base32hex_chars[]
242static const char * base32hex_chars = "0123456789ABCDEFGHIJKLMNOPQRSTUV="; 242static const char * base32hex_chars = "0123456789ABCDEFGHIJKLMNOPQRSTUV=";
243 243
244 244
245#pragma mark base64_vals[] 245// MARK: base64_vals[]
246static const int8_t base64_vals[256] = 246static const int8_t base64_vals[256] =
247{ 247{
248// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 248// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
@@ -263,11 +263,11 @@ static const int8_t base64_vals[256] =
263 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 263 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0
264 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 264 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0
265}; 265};
266#pragma mark base64_chars[] 266// MARK: base64_chars[]
267static const char * base64_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; 267static const char * base64_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
268 268
269 269
270#pragma mark crockford_vals[] 270// MARK: crockford_vals[]
271static const int8_t crockford_vals[256] = 271static const int8_t crockford_vals[256] =
272{ 272{
273// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 273// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
@@ -288,11 +288,11 @@ static const int8_t crockford_vals[256] =
288 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 288 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0
289 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 289 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0
290}; 290};
291#pragma mark crockford_chars[] 291// MARK: crockford_chars[]
292static const char * crockford_chars = "0123456789ABCDEFGHJKMNPQRSTVWXYZ"; 292static const char * crockford_chars = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
293 293
294 294
295#pragma mark hex_vals[] 295// MARK: hex_vals[]
296static const int8_t hex_vals[256] = 296static const int8_t hex_vals[256] =
297{ 297{
298// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 298// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
@@ -313,11 +313,11 @@ static const int8_t hex_vals[256] =
313 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 313 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0
314 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 314 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0
315}; 315};
316#pragma mark hex_chars[] 316// MARK: hex_chars[]
317static const char * hex_chars = "0123456789abcdef"; 317static const char * hex_chars = "0123456789abcdef";
318 318
319 319
320#pragma mark pctenc_vals[] 320// MARK: pctenc_vals[]
321static const int8_t pctenc_vals[256] = 321static const int8_t pctenc_vals[256] =
322{ 322{
323// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 323// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
@@ -345,12 +345,12 @@ static const int8_t pctenc_vals[256] =
345// Functions // 345// Functions //
346// // 346// //
347///////////////// 347/////////////////
348#pragma mark - Functions 348// MARK: - Functions
349 349
350//------------------// 350//------------------//
351// base32 functions // 351// base32 functions //
352//------------------// 352//------------------//
353#pragma mark base32 functions 353// MARK: base32 functions
354 354
355ssize_t 355ssize_t
356bindle_base32_decode( 356bindle_base32_decode(
@@ -608,7 +608,7 @@ bindle_base32_verify(
608//------------------// 608//------------------//
609// base64 functions // 609// base64 functions //
610//------------------// 610//------------------//
611#pragma mark base64 functions 611// MARK: base64 functions
612 612
613ssize_t 613ssize_t
614bindle_base64_decode( 614bindle_base64_decode(
@@ -802,7 +802,7 @@ bindle_base64_verify(
802//---------------// 802//---------------//
803// hex functions // 803// hex functions //
804//---------------// 804//---------------//
805#pragma mark hex functions 805// MARK: hex functions
806 806
807ssize_t 807ssize_t
808bindle_hex_decode( 808bindle_hex_decode(
@@ -917,7 +917,7 @@ bindle_hex_verify(
917//----------------// 917//----------------//
918// none functions // 918// none functions //
919//----------------// 919//----------------//
920#pragma mark none functions 920// MARK: none functions
921 921
922ssize_t 922ssize_t
923bindle_none_decode( 923bindle_none_decode(
@@ -962,7 +962,7 @@ bindle_none_encode(
962//----------------------------// 962//----------------------------//
963// percent-encoding functions // 963// percent-encoding functions //
964//----------------------------// 964//----------------------------//
965#pragma mark percent-encoding functions 965// MARK: percent-encoding functions
966 966
967ssize_t 967ssize_t
968bindle_pctenc_decode( 968bindle_pctenc_decode(
@@ -1101,7 +1101,7 @@ bindle_pctenc_verify(
1101//--------------------// 1101//--------------------//
1102// frontend functions // 1102// frontend functions //
1103//--------------------// 1103//--------------------//
1104#pragma mark frontend functions 1104// MARK: frontend functions
1105 1105
1106ssize_t 1106ssize_t
1107bindle_decode( 1107bindle_decode(
diff --git a/lib/libbindle/lencoding.h b/lib/libbindle/lencoding.h
index 1513903..a0169c4 100644
--- a/lib/libbindle/lencoding.h
+++ b/lib/libbindle/lencoding.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lfile.c b/lib/libbindle/lfile.c
index a99c684..e3e6658 100644
--- a/lib/libbindle/lfile.c
+++ b/lib/libbindle/lfile.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -56,7 +56,7 @@
56// Definitions // 56// Definitions //
57// // 57// //
58/////////////////// 58///////////////////
59#pragma mark - Definitions 59// MARK: - Definitions
60 60
61 61
62///////////////// 62/////////////////
@@ -64,7 +64,7 @@
64// Variables // 64// Variables //
65// // 65// //
66///////////////// 66/////////////////
67#pragma mark - Variables 67// MARK: - Variables
68 68
69 69
70///////////////// 70/////////////////
@@ -72,7 +72,7 @@
72// Functions // 72// Functions //
73// // 73// //
74///////////////// 74/////////////////
75#pragma mark - Functions 75// MARK: - Functions
76 76
77int 77int
78bindle_filetostr( 78bindle_filetostr(
diff --git a/lib/libbindle/lfile.h b/lib/libbindle/lfile.h
index b6ceeb6..d9401c3 100644
--- a/lib/libbindle/lfile.h
+++ b/lib/libbindle/lfile.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
@@ -52,7 +52,7 @@
52// Definitions // 52// Definitions //
53// // 53// //
54/////////////////// 54///////////////////
55#pragma mark - Definitions 55// MARK: - Definitions
56 56
57 57
58 58
@@ -61,7 +61,7 @@
61// Variables // 61// Variables //
62// // 62// //
63///////////////// 63/////////////////
64#pragma mark - Variables 64// MARK: - Variables
65 65
66 66
67////////////////// 67//////////////////
@@ -69,7 +69,7 @@
69// Prototypes // 69// Prototypes //
70// // 70// //
71////////////////// 71//////////////////
72#pragma mark - Prototypes 72// MARK: - Prototypes
73 73
74 74
75#endif /* end of header */ 75#endif /* end of header */
diff --git a/lib/libbindle/libbindle.h b/lib/libbindle/libbindle.h
index 4d71f89..59f6d7b 100644
--- a/lib/libbindle/libbindle.h
+++ b/lib/libbindle/libbindle.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42// defined in the Single UNIX Specification 42// defined in the Single UNIX Specification
43#ifndef _XOPEN_SOURCE 43#ifndef _XOPEN_SOURCE
@@ -60,7 +60,7 @@
60// Macros // 60// Macros //
61// // 61// //
62////////////// 62//////////////
63#pragma mark - Macros 63// MARK: - Macros
64 64
65#undef Debug 65#undef Debug
66#ifdef USE_DEBUG 66#ifdef USE_DEBUG
@@ -77,7 +77,7 @@
77// Definitions // 77// Definitions //
78// // 78// //
79/////////////////// 79///////////////////
80#pragma mark - Definitions 80// MARK: - Definitions
81 81
82#define BNDL_SUCCESS 0 82#define BNDL_SUCCESS 0
83 83
@@ -93,7 +93,7 @@
93// Data Types // 93// Data Types //
94// // 94// //
95////////////////// 95//////////////////
96#pragma mark - Data Types 96// MARK: - Data Types
97 97
98 98
99///////////////// 99/////////////////
@@ -101,7 +101,7 @@
101// Variables // 101// Variables //
102// // 102// //
103///////////////// 103/////////////////
104#pragma mark - Variables 104// MARK: - Variables
105 105
106 106
107////////////////// 107//////////////////
@@ -109,7 +109,7 @@
109// Prototypes // 109// Prototypes //
110// // 110// //
111////////////////// 111//////////////////
112#pragma mark - Prototypes 112// MARK: - Prototypes
113 113
114 114
115#endif /* end of header */ 115#endif /* end of header */
diff --git a/lib/libbindle/lmap.c b/lib/libbindle/lmap.c
index d6c3184..2ed2871 100644
--- a/lib/libbindle/lmap.c
+++ b/lib/libbindle/lmap.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <unistd.h> 43#include <unistd.h>
@@ -52,7 +52,7 @@
52// Functions // 52// Functions //
53// // 53// //
54///////////////// 54/////////////////
55#pragma mark - Functions 55// MARK: - Functions
56 56
57int 57int
58bindle_map_lookup( 58bindle_map_lookup(
diff --git a/lib/libbindle/lmap.h b/lib/libbindle/lmap.h
index 242ee11..8354978 100644
--- a/lib/libbindle/lmap.h
+++ b/lib/libbindle/lmap.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lobj.c b/lib/libbindle/lobj.c
index 244d410..06aed1b 100644
--- a/lib/libbindle/lobj.c
+++ b/lib/libbindle/lobj.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -53,7 +53,7 @@
53// Definitions // 53// Definitions //
54// // 54// //
55/////////////////// 55///////////////////
56#pragma mark - Definitions 56// MARK: - Definitions
57 57
58// Magic number used to determine if memory passed to bindle_free() is a 58// Magic number used to determine if memory passed to bindle_free() is a
59// "bindle_obj_t" or raw virtual memory. The magic number purposely starts 59// "bindle_obj_t" or raw virtual memory. The magic number purposely starts
@@ -66,7 +66,7 @@
66// Prototypes // 66// Prototypes //
67// // 67// //
68////////////////// 68//////////////////
69#pragma mark - Prototypes 69// MARK: - Prototypes
70 70
71static int 71static int
72bindle_verify_is_obj( 72bindle_verify_is_obj(
@@ -78,7 +78,7 @@ bindle_verify_is_obj(
78// Functions // 78// Functions //
79// // 79// //
80///////////////// 80/////////////////
81#pragma mark - Functions 81// MARK: - Functions
82 82
83void * 83void *
84bindle_alloc( 84bindle_alloc(
diff --git a/lib/libbindle/lobj.h b/lib/libbindle/lobj.h
index 34b0097..afef0ff 100644
--- a/lib/libbindle/lobj.h
+++ b/lib/libbindle/lobj.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/loptions.c b/lib/libbindle/loptions.c
index 4714c5a..5fd4d9b 100644
--- a/lib/libbindle/loptions.c
+++ b/lib/libbindle/loptions.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -55,7 +55,7 @@
55// Definitions // 55// Definitions //
56// // 56// //
57/////////////////// 57///////////////////
58#pragma mark - Definitions 58// MARK: - Definitions
59 59
60 60
61////////////////// 61//////////////////
@@ -63,7 +63,7 @@
63// Prototypes // 63// Prototypes //
64// // 64// //
65////////////////// 65//////////////////
66#pragma mark - Prototypes 66// MARK: - Prototypes
67 67
68 68
69///////////////// 69/////////////////
@@ -71,7 +71,7 @@
71// Functions // 71// Functions //
72// // 72// //
73///////////////// 73/////////////////
74#pragma mark - Functions 74// MARK: - Functions
75 75
76int 76int
77bindle_get_option( 77bindle_get_option(
diff --git a/lib/libbindle/loptions.h b/lib/libbindle/loptions.h
index b5698d5..c7a3c46 100644
--- a/lib/libbindle/loptions.h
+++ b/lib/libbindle/loptions.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lprompt.c b/lib/libbindle/lprompt.c
index 2e4e728..a661d39 100644
--- a/lib/libbindle/lprompt.c
+++ b/lib/libbindle/lprompt.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdio.h> 42#include <stdio.h>
43#include <signal.h> 43#include <signal.h>
@@ -56,7 +56,7 @@
56// Functions // 56// Functions //
57// // 57// //
58///////////////// 58/////////////////
59#pragma mark - Functions 59// MARK: - Functions
60 60
61char * 61char *
62bindle_getpass( 62bindle_getpass(
diff --git a/lib/libbindle/lprompt.h b/lib/libbindle/lprompt.h
index 1d5785a..e7b9f75 100644
--- a/lib/libbindle/lprompt.h
+++ b/lib/libbindle/lprompt.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lstring.c b/lib/libbindle/lstring.c
index aaba573..7a4b560 100644
--- a/lib/libbindle/lstring.c
+++ b/lib/libbindle/lstring.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -62,7 +62,7 @@
62// Definitions // 62// Definitions //
63// // 63// //
64/////////////////// 64///////////////////
65#pragma mark - Definitions 65// MARK: - Definitions
66 66
67 67
68////////////////// 68//////////////////
@@ -70,7 +70,7 @@
70// Prototypes // 70// Prototypes //
71// // 71// //
72////////////////// 72//////////////////
73#pragma mark - Prototypes 73// MARK: - Prototypes
74 74
75 75
76///////////////// 76/////////////////
@@ -78,7 +78,7 @@
78// Functions // 78// Functions //
79// // 79// //
80///////////////// 80/////////////////
81#pragma mark - Functions 81// MARK: - Functions
82 82
83char * 83char *
84bindle_basename( 84bindle_basename(
diff --git a/lib/libbindle/lstring.h b/lib/libbindle/lstring.h
index 09cd952..e165935 100644
--- a/lib/libbindle/lstring.h
+++ b/lib/libbindle/lstring.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lstrings.c b/lib/libbindle/lstrings.c
index d77ccfa..275116b 100644
--- a/lib/libbindle/lstrings.c
+++ b/lib/libbindle/lstrings.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -53,7 +53,7 @@
53// Definitions // 53// Definitions //
54// // 54// //
55/////////////////// 55///////////////////
56#pragma mark - Definitions 56// MARK: - Definitions
57 57
58 58
59////////////////// 59//////////////////
@@ -61,7 +61,7 @@
61// Prototypes // 61// Prototypes //
62// // 62// //
63////////////////// 63//////////////////
64#pragma mark - Prototypes 64// MARK: - Prototypes
65 65
66 66
67///////////////// 67/////////////////
@@ -69,7 +69,7 @@
69// Functions // 69// Functions //
70// // 70// //
71///////////////// 71/////////////////
72#pragma mark - Functions 72// MARK: - Functions
73 73
74int 74int
75bindle_strsadd( 75bindle_strsadd(
diff --git a/lib/libbindle/lstrings.h b/lib/libbindle/lstrings.h
index 9aa9687..e94c5c1 100644
--- a/lib/libbindle/lstrings.h
+++ b/lib/libbindle/lstrings.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lurl.c b/lib/libbindle/lurl.c
index 0ed7492..a80dfe9 100644
--- a/lib/libbindle/lurl.c
+++ b/lib/libbindle/lurl.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -59,7 +59,7 @@
59// Definitions // 59// Definitions //
60// // 60// //
61/////////////////// 61///////////////////
62#pragma mark - Definitions 62// MARK: - Definitions
63 63
64#define BINDLE_URLDESC_SCHEME 0x01 64#define BINDLE_URLDESC_SCHEME 0x01
65#define BINDLE_URLDESC_USERINFO 0x02 65#define BINDLE_URLDESC_USERINFO 0x02
@@ -75,7 +75,7 @@
75// Prototypes // 75// Prototypes //
76// // 76// //
77////////////////// 77//////////////////
78#pragma mark - Prototypes 78// MARK: - Prototypes
79 79
80static void 80static void
81bindle_urldesc_free_sockaddrs( 81bindle_urldesc_free_sockaddrs(
@@ -87,7 +87,7 @@ bindle_urldesc_free_sockaddrs(
87// Variables // 87// Variables //
88// // 88// //
89///////////////// 89/////////////////
90#pragma mark - Variables 90// MARK: - Variables
91 91
92 92
93///////////////// 93/////////////////
@@ -95,7 +95,7 @@ bindle_urldesc_free_sockaddrs(
95// Functions // 95// Functions //
96// // 96// //
97///////////////// 97/////////////////
98#pragma mark - Functions 98// MARK: - Functions
99 99
100int 100int
101bindle_is_url( 101bindle_is_url(
diff --git a/lib/libbindle/lurl.h b/lib/libbindle/lurl.h
index 760609f..ee52d1c 100644
--- a/lib/libbindle/lurl.h
+++ b/lib/libbindle/lurl.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43
diff --git a/lib/libbindle/lutf8.c b/lib/libbindle/lutf8.c
index 42e4c8b..fa7a024 100644
--- a/lib/libbindle/lutf8.c
+++ b/lib/libbindle/lutf8.c
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include <stdlib.h> 42#include <stdlib.h>
43#include <string.h> 43#include <string.h>
@@ -51,7 +51,7 @@
51// Definitions // 51// Definitions //
52// // 52// //
53/////////////////// 53///////////////////
54#pragma mark - Definitions 54// MARK: - Definitions
55 55
56 56
57////////////////// 57//////////////////
@@ -59,7 +59,7 @@
59// Prototypes // 59// Prototypes //
60// // 60// //
61////////////////// 61//////////////////
62#pragma mark - Prototypes 62// MARK: - Prototypes
63 63
64 64
65///////////////// 65/////////////////
@@ -67,7 +67,7 @@
67// Functions // 67// Functions //
68// // 68// //
69///////////////// 69/////////////////
70#pragma mark - Functions 70// MARK: - Functions
71 71
72 72
73size_t 73size_t
diff --git a/lib/libbindle/lutf8.h b/lib/libbindle/lutf8.h
index 19f143a..56a6ddf 100644
--- a/lib/libbindle/lutf8.h
+++ b/lib/libbindle/lutf8.h
@@ -37,7 +37,7 @@
37// Headers // 37// Headers //
38// // 38// //
39/////////////// 39///////////////
40#pragma mark - Headers 40// MARK: - Headers
41 41
42#include "libbindle.h" 42#include "libbindle.h"
43 43