aboutsummaryrefslogtreecommitdiff
path: root/src/include/k5-buf.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-30Modify k5buf interfaces for easier useGreg Hudson1-61/+26
Make struct k5buf less opaque and get rid of k5buf-int.h. Make it easy to initialize a k5buf in an error state so that it can be freed in a cleanup handler. Add a function k5_buf_status which returns 0 or ENOMEM. Remove k5_buf_data and k5_buf_len. Rename k5_free_buf to k5_buf_free. Adjust all callers to match.
2014-05-17Add k5_buf_get_spaceGreg Hudson1-0/+4
Add a new k5_buf method to make room in the buffer for the caller to fill in.
2013-02-14Modernize k5bufGreg Hudson1-39/+36
Rename the krb5int_buf_ family of functions to use the k5_ prefix for brevity. Reformat some k5buf implementation code to match current practices.
2011-03-09Adjust most C source files to match the new standards for copyrightGreg Hudson1-5/+1
and license comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
2010-10-26Make k5-buf.h comments consistent with coding styleGreg Hudson1-44/+54
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24484 dc483132-0cff-0310-8789-dd5450dbe970
2010-09-27Doxygen for k5-buf.hSam Hartman1-9/+9
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24360 dc483132-0cff-0310-8789-dd5450dbe970
2009-11-14Reindent include directory, reformatting prototypes as necessary.Greg Hudson1-1/+1
Exclude include/gssrpc due to its Sun origin and k5-platform.h due to macros too hairy for emacs c-mode to handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23180 dc483132-0cff-0310-8789-dd5450dbe970
2009-02-11unistd.h is posix onlyKen Raeburn1-0/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21955 dc483132-0cff-0310-8789-dd5450dbe970
2009-01-22fix trailing whitespaceTom Yu1-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21779 dc483132-0cff-0310-8789-dd5450dbe970
2009-01-22whitespaceTom Yu1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21778 dc483132-0cff-0310-8789-dd5450dbe970
2008-11-05Rename krb5int_buf_cstr to krb5int_buf_data, since k5bufs can be usedGreg Hudson1-3/+3
for binary data as well as C string data. The buffer will always have a null byte at krb5int_buf_len bytes regardless of whether it contains C string data. ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21003 dc483132-0cff-0310-8789-dd5450dbe970
2008-10-28In the k5buf module, add a function to append formatted data to aGreg Hudson1-0/+8
buffer. ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20932 dc483132-0cff-0310-8789-dd5450dbe970
2008-10-28Add the k5buf string module to libkrb5supportGreg Hudson1-0/+117
ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20929 dc483132-0cff-0310-8789-dd5450dbe970