Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. while((ret = cursorp->get(cursorp, &key, &data, DB_PREV)) == 0 && i < 10){
  2.  
  3. buffer = data.data;
  4.  
  5. blogpost.stru_header = buffer;
  6. blogpost.stru_entry = buffer + 13;
  7.  
  8. if (strncasecmp (blogpost.stru_header, BUFFER OF THE FIRST ENTRY THAT IS NOT IMPLEMENTED YET, 10) != 0){
  9. printf("<h3>%s</h3><br/>\n", blogpost.stru_header);
  10. }
  11.  
  12.  
  13. printf("<li><A HREF=\"?e%s\">[l]</A> %s<br/>\n", key.data, blogpost.stru_entry);
  14.  
  15.  
  16. //!!!!
  17.  
  18. i++;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement