Lines Matching refs:buffer
89 // return current buffer status flags
206 char buffer[100];
209 sprintf(buffer, "AC: %s\r\n", (battery_state->ac_online ? "online" : "offline"));
210 callback(data, buffer);
229 sprintf(buffer, "status: %s\r\n", value);
230 callback(data, buffer);
252 sprintf(buffer, "health: %s\r\n", value);
253 callback(data, buffer);
255 sprintf(buffer, "present: %s\r\n", (battery_state->present ? "true" : "false"));
256 callback(data, buffer);
258 sprintf(buffer, "capacity: %d\r\n", battery_state->capacity);
259 callback(data, buffer);