diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-03-09 13:49:03 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-03-09 13:49:03 -0500 |
commit | 60a4bda9d489aa6c1da46ed35a2e7b414ba1ff59 (patch) | |
tree | 5cff0cfa54f76af6e137eddb6628b1daa34d816a /src/basecmd.h | |
parent | d5fc594317de58ad0c82e82eaa219dc0ca538990 (diff) | |
download | kutter-60a4bda9d489aa6c1da46ed35a2e7b414ba1ff59.tar.gz kutter-60a4bda9d489aa6c1da46ed35a2e7b414ba1ff59.tar.xz kutter-60a4bda9d489aa6c1da46ed35a2e7b414ba1ff59.zip |
basecmd: Use oid_ prefix for the oid manipulation functions
Consistently use an "oid_" prefix on the oid functions - this makes
them similar to other functions with a common prefix.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/basecmd.h')
-rw-r--r-- | src/basecmd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/basecmd.h b/src/basecmd.h index b795e4db..987d7498 100644 --- a/src/basecmd.h +++ b/src/basecmd.h @@ -6,11 +6,11 @@ void move_free(void *m); void *move_alloc(void); void move_request_size(int size); -void *lookup_oid(uint8_t oid, void *type); -void *alloc_oid(uint8_t oid, void *type, uint16_t size); -void *next_oid(uint8_t *i, void *type); +void *oid_lookup(uint8_t oid, void *type); +void *oid_alloc(uint8_t oid, void *type, uint16_t size); +void *oid_next(uint8_t *i, void *type); #define foreach_oid(pos,data,oidtype) \ - for (pos=-1; (data=next_oid(&pos, oidtype)); ) + for (pos=-1; (data=oid_next(&pos, oidtype)); ) #endif // basecmd.h |