search for: get_field_valu

Displaying 7 results from an estimated 7 matches for "get_field_valu".

Did you mean: get_field_value
2004 Sep 10
4
reading vorbis comments with FLAC++?
Hi me (2x - Haberman and Coalson), On Tue, Nov 11, 2003 at 03:51:42PM -0800, Josh Coalson wrote: > The C++ interface is a little simpler: [code follows] OK. Well, I found the C interface a little bit easier to understand, so I ended up using that instead of continuing to try to figure out the C++ interface. The one problem I have is that the values in block->data. vorbis_comment.comments
2004 Sep 10
2
reading vorbis comments with FLAC++?
--- Joshua Kwan <joshk@triplehelix.org> wrote: > On Mon, Nov 17, 2003 at 11:10:58AM -0800, Josh Coalson wrote: > > > but there's still junk on the char* i get back from > > > get_field_value(). > > > > there's no terminating null for these routines either, they > > are returning the unterminated UTF-8 buffer just like the C > > API. > > OK. I assumed that stuff passed back to the user as char* would have > been made to behave like a normal C stri...
2004 Sep 10
3
reading vorbis comments with FLAC++?
...unsigned nc = 0, i; FLAC::Metadata::VorbisComment vc (md); nc = vc.get_num_comments(); for (i = 0; i <= nc; i++) { FLAC::Metadata::VorbisComment::Entry e; e = vc.get_comment(i); if (!strcmp(e.get_field_name(), "ARTIST")) flac->artist = e.get_field_value(); else if (!strcmp(e.get_field_name(), "TITLE")) flac->title = e.get_field_value(); } return true; } else return false; } When I run this code, I get a SEGV during get_comment because object_->data.vorbis_comment.comments is junk. Must I initial...
2004 Sep 10
0
reading vorbis comments with FLAC++?
On Mon, Nov 17, 2003 at 11:10:58AM -0800, Josh Coalson wrote: > > but there's still junk on the char* i get back from > > get_field_value(). > > there's no terminating null for these routines either, they > are returning the unterminated UTF-8 buffer just like the C > API. OK. I assumed that stuff passed back to the user as char* would have been made to behave like a normal C string. > it's hard to do that...
2019 Feb 03
2
Crash when using dict quotas with sqlite database
Hello John, I tried (until now) to get a valuable backtrace, but it seems that GDB can't resolve all symbols. This is what systemd-coredump is giving me: Stack trace of thread 22359: #0? 0x0000638167eaf062 event_unref (libdovecot.so.0) #1? 0x000004a58a212151 n/a (dict) #2? 0x000004a58a211333 n/a (dict) #3? 0x000004a58a20514d n/a (dict) #4? 0x0000638167e556f2 dict_transaction_begin
2019 Feb 03
2
Crash when using dict quotas with sqlite database
...uot;event_unref" #1 0x000000ccbcdb0151 in driver_sqlite_exec (_db=0xccf6c3d438, query=0xccbcdb2fcd "BEGIN TRANSACTION") at driver-sqlite.c:186 db = 0xccf6c3d438 result = {v = {free = 0x0, next_row = 0x0, get_fields_count = 0x0, get_field_name = 0x0, find_field = 0x0, get_field_value = 0x0, get_field_value_binary = 0x0, find_field_value = 0x0, get_values = 0x0, get_error = 0x0, more = 0x0}, refcount = 0, db = 0xccf6c3d438, fields = 0x0, map_size = 0, map = 0x0, fetch_dest = 0x0, event = 0xccf6c3e000, fetch_dest_size = 0, error_type = SQL_RESULT_ERROR_TYPE_UNKNOWN,...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...ormation because there is no way to access this information and it can neither generally be used for queries which cause side effects since it cannot be determined if execution was successful (the only possible use I can think of is actually a rollback after a failed transaction). sql_result_get_field_value_binary Not implemented. Appears to be unused and the way I understand the libpq programming documentation, the only way to retrieve a binary result to some query is to use PQsendQueryParams or PQsendQueryPrepare and request that some columns are returned in binary. Nothing like this is suppo...